Reintroduce the SPI _websiteDataURLForContainerWithURL: that was removed in r171160
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jul 2014 03:31:38 +0000 (03:31 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jul 2014 03:31:38 +0000 (03:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=134984

Reviewed by David Kilzer.

* UIProcess/API/Cocoa/WKProcessPool.mm:
(+[WKProcessPool _websiteDataURLForContainerWithURL:]):
* UIProcess/API/Cocoa/WKProcessPoolPrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h

index 8e5a174..f9cb708 100644 (file)
@@ -1,3 +1,14 @@
+2014-07-16  Brady Eidson  <beidson@apple.com>
+
+        Reintroduce the SPI _websiteDataURLForContainerWithURL: that was removed in r171160
+        https://bugs.webkit.org/show_bug.cgi?id=134984
+
+        Reviewed by David Kilzer.
+
+        * UIProcess/API/Cocoa/WKProcessPool.mm:
+        (+[WKProcessPool _websiteDataURLForContainerWithURL:]):
+        * UIProcess/API/Cocoa/WKProcessPoolPrivate.h:
+
 2014-07-16  Alexey Proskuryakov  <ap@apple.com>
 
         A test that hangs at cleanup stage confuses webkitpy hugely
 2014-07-16  Alexey Proskuryakov  <ap@apple.com>
 
         A test that hangs at cleanup stage confuses webkitpy hugely
index 039fcea..5e277f9 100644 (file)
@@ -105,6 +105,11 @@ enum : NSUInteger {
 
 @implementation WKProcessPool (WKPrivate)
 
 
 @implementation WKProcessPool (WKPrivate)
 
++ (NSURL *)_websiteDataURLForContainerWithURL:(NSURL *)containerURL
+{
+    return [WKProcessPool _websiteDataURLForContainerWithURL:containerURL bundleIdentifierIfNotInContainer:nil];
+}
+
 + (NSURL *)_websiteDataURLForContainerWithURL:(NSURL *)containerURL bundleIdentifierIfNotInContainer:(NSString *)bundleIdentifier
 {
     NSURL *url = [containerURL URLByAppendingPathComponent:@"Library" isDirectory:YES];
 + (NSURL *)_websiteDataURLForContainerWithURL:(NSURL *)containerURL bundleIdentifierIfNotInContainer:(NSString *)bundleIdentifier
 {
     NSURL *url = [containerURL URLByAppendingPathComponent:@"Library" isDirectory:YES];
index 939f3e6..10304de 100644 (file)
@@ -44,6 +44,7 @@
 
 @property (nonatomic, weak, setter=_setDownloadDelegate:) id <_WKDownloadDelegate> _downloadDelegate;
 
 
 @property (nonatomic, weak, setter=_setDownloadDelegate:) id <_WKDownloadDelegate> _downloadDelegate;
 
++ (NSURL *)_websiteDataURLForContainerWithURL:(NSURL *)containerURL;
 + (NSURL *)_websiteDataURLForContainerWithURL:(NSURL *)containerURL bundleIdentifierIfNotInContainer:(NSString *)bundleIdentifier;
 
 @end
 + (NSURL *)_websiteDataURLForContainerWithURL:(NSURL *)containerURL bundleIdentifierIfNotInContainer:(NSString *)bundleIdentifier;
 
 @end