Changeset 251675 in webkit
- Timestamp:
- Oct 28, 2019 2:52:07 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r251673 r251675 1 2019-10-28 Alex Christensen <achristensen@webkit.org> 2 3 Remove unused WKWebsiteDataStore setter SPI 4 https://bugs.webkit.org/show_bug.cgi?id=203114 5 6 Reviewed by Anders Carlsson. 7 8 They have been replaced by _WKWebsiteDataStoreConfiguration SPI which was adopted in rdar://problem/56349165 9 10 * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: 11 (-[WKWebsiteDataStore _setBoundInterfaceIdentifier:]): Deleted. 12 (-[WKWebsiteDataStore _boundInterfaceIdentifier]): Deleted. 13 (-[WKWebsiteDataStore _setAllowsCellularAccess:]): Deleted. 14 (-[WKWebsiteDataStore _allowsCellularAccess]): Deleted. 15 (-[WKWebsiteDataStore _setProxyConfiguration:]): Deleted. 16 (-[WKWebsiteDataStore _proxyConfiguration]): Deleted. 17 * UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h: 18 * UIProcess/WebsiteData/WebsiteDataStore.h: 19 (WebKit::WebsiteDataStore::setBoundInterfaceIdentifier): Deleted. 20 (WebKit::WebsiteDataStore::setAllowsCellularAccess): Deleted. 21 (WebKit::WebsiteDataStore::setProxyConfiguration): Deleted. 22 1 23 2019-10-28 Brady Eidson <beidson@apple.com> 2 24 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
r250579 r251675 327 327 } 328 328 329 - (void)_setBoundInterfaceIdentifier:(NSString *)identifier330 {331 _websiteDataStore->setBoundInterfaceIdentifier(identifier);332 }333 334 - (NSString *)_boundInterfaceIdentifier335 {336 return _websiteDataStore->boundInterfaceIdentifier();337 }338 339 - (void)_setAllowsCellularAccess:(BOOL)allows340 {341 _websiteDataStore->setAllowsCellularAccess(allows ? WebKit::AllowsCellularAccess::Yes : WebKit::AllowsCellularAccess::No);342 }343 344 - (BOOL)_allowsCellularAccess345 {346 return _websiteDataStore->allowsCellularAccess() == WebKit::AllowsCellularAccess::Yes;347 }348 349 - (void)_setProxyConfiguration:(NSDictionary *)configuration350 {351 _websiteDataStore->setProxyConfiguration((__bridge CFDictionaryRef)configuration);352 }353 354 329 - (NSString *)_sourceApplicationBundleIdentifier 355 330 { … … 381 356 { 382 357 return NO; 383 }384 385 - (NSDictionary *)_proxyConfiguration386 {387 return (__bridge NSDictionary *)_websiteDataStore->proxyConfiguration();388 358 } 389 359 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
r250150 r251675 53 53 @property (nonatomic, setter=_setServiceWorkerRegistrationDirectory:) NSString* _serviceWorkerRegistrationDirectory WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.serviceWorkerRegistrationDirectory", macos(10.13.4, WK_MAC_TBA), ios(11.3, WK_IOS_TBA)); 54 54 55 @property (nonatomic, setter=_setBoundInterfaceIdentifier:) NSString *_boundInterfaceIdentifier WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.boundInterfaceIdentifier", macos(10.13.4, WK_MAC_TBA), ios(11.3, WK_IOS_TBA));56 @property (nonatomic, setter=_setAllowsCellularAccess:) BOOL _allowsCellularAccess WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.allowsCellularAccess", macos(10.13.4, WK_MAC_TBA), ios(11.3, WK_IOS_TBA));57 @property (nonatomic, setter=_setProxyConfiguration:) NSDictionary *_proxyConfiguration WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.proxyConfiguration", macos(10.14, WK_MAC_TBA), ios(12.0, WK_IOS_TBA));58 55 @property (nonatomic, copy, setter=_setSourceApplicationBundleIdentifier:) NSString *_sourceApplicationBundleIdentifier WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.sourceApplicationBundleIdentifier", macos(10.14.4, WK_MAC_TBA), ios(12.2, WK_IOS_TBA)); 59 56 @property (nonatomic, copy, setter=_setSourceApplicationSecondaryIdentifier:) NSString *_sourceApplicationSecondaryIdentifier WK_API_DEPRECATED_WITH_REPLACEMENT("_WKWebsiteDataStoreConfiguration.setSourceApplicationSecondaryIdentifier", macos(10.14.4, WK_MAC_TBA), ios(12.2, WK_IOS_TBA)); -
trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h
r251213 r251675 223 223 void clearPendingCookies(); 224 224 225 void setBoundInterfaceIdentifier(String&& identifier) { m_resolvedConfiguration->setBoundInterfaceIdentifier(WTFMove(identifier)); }226 225 const String& boundInterfaceIdentifier() { return m_resolvedConfiguration->boundInterfaceIdentifier(); } 227 226 … … 234 233 void networkingHasBegun() { m_networkingHasBegun = true; } 235 234 236 void setAllowsCellularAccess(AllowsCellularAccess allows) { m_resolvedConfiguration->setAllowsCellularAccess(allows == AllowsCellularAccess::Yes); }237 235 AllowsCellularAccess allowsCellularAccess() { return m_resolvedConfiguration->allowsCellularAccess() ? AllowsCellularAccess::Yes : AllowsCellularAccess::No; } 238 236 239 237 #if PLATFORM(COCOA) 240 void setProxyConfiguration(CFDictionaryRef configuration) { m_resolvedConfiguration->setProxyConfiguration(configuration); }241 238 CFDictionaryRef proxyConfiguration() { return m_resolvedConfiguration->proxyConfiguration(); } 242 239 #endif
Note: See TracChangeset
for help on using the changeset viewer.