Changeset 251687 in webkit
- Timestamp:
- Oct 28, 2019 5:09:41 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r251686 r251687 1 2019-10-28 Alex Christensen <achristensen@webkit.org> 2 3 Unreviewed, rolling out r251675. 4 5 Broke some builds 6 7 Reverted changeset: 8 9 "Remove unused WKWebsiteDataStore setter SPI" 10 https://bugs.webkit.org/show_bug.cgi?id=203114 11 https://trac.webkit.org/changeset/251675 12 1 13 2019-10-28 Wenson Hsieh <wenson_hsieh@apple.com> 2 14 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
r251675 r251687 327 327 } 328 328 329 - (void)_setBoundInterfaceIdentifier:(NSString *)identifier 330 { 331 _websiteDataStore->setBoundInterfaceIdentifier(identifier); 332 } 333 334 - (NSString *)_boundInterfaceIdentifier 335 { 336 return _websiteDataStore->boundInterfaceIdentifier(); 337 } 338 339 - (void)_setAllowsCellularAccess:(BOOL)allows 340 { 341 _websiteDataStore->setAllowsCellularAccess(allows ? WebKit::AllowsCellularAccess::Yes : WebKit::AllowsCellularAccess::No); 342 } 343 344 - (BOOL)_allowsCellularAccess 345 { 346 return _websiteDataStore->allowsCellularAccess() == WebKit::AllowsCellularAccess::Yes; 347 } 348 349 - (void)_setProxyConfiguration:(NSDictionary *)configuration 350 { 351 _websiteDataStore->setProxyConfiguration((__bridge CFDictionaryRef)configuration); 352 } 353 329 354 - (NSString *)_sourceApplicationBundleIdentifier 330 355 { … … 356 381 { 357 382 return NO; 383 } 384 385 - (NSDictionary *)_proxyConfiguration 386 { 387 return (__bridge NSDictionary *)_websiteDataStore->proxyConfiguration(); 358 388 } 359 389 -
trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
r251675 r251687 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)); 55 58 @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)); 56 59 @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
r251675 r251687 223 223 void clearPendingCookies(); 224 224 225 void setBoundInterfaceIdentifier(String&& identifier) { m_resolvedConfiguration->setBoundInterfaceIdentifier(WTFMove(identifier)); } 225 226 const String& boundInterfaceIdentifier() { return m_resolvedConfiguration->boundInterfaceIdentifier(); } 226 227 … … 233 234 void networkingHasBegun() { m_networkingHasBegun = true; } 234 235 236 void setAllowsCellularAccess(AllowsCellularAccess allows) { m_resolvedConfiguration->setAllowsCellularAccess(allows == AllowsCellularAccess::Yes); } 235 237 AllowsCellularAccess allowsCellularAccess() { return m_resolvedConfiguration->allowsCellularAccess() ? AllowsCellularAccess::Yes : AllowsCellularAccess::No; } 236 238 237 239 #if PLATFORM(COCOA) 240 void setProxyConfiguration(CFDictionaryRef configuration) { m_resolvedConfiguration->setProxyConfiguration(configuration); } 238 241 CFDictionaryRef proxyConfiguration() { return m_resolvedConfiguration->proxyConfiguration(); } 239 242 #endif
Note: See TracChangeset
for help on using the changeset viewer.