Title: [168646] trunk/Source/WebKit2
Revision
168646
Author
[email protected]
Date
2014-05-12 14:34:06 -0700 (Mon, 12 May 2014)

Log Message

[Cocoa] Expose WebPage::usesEphemeralSession to the bundle
https://bugs.webkit.org/show_bug.cgi?id=132836

Reviewed by Anders Carlsson.

* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
(-[WKWebProcessPlugInBrowserContextController _usesNonPersistentWebsiteDataStore]):
* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (168645 => 168646)


--- trunk/Source/WebKit2/ChangeLog	2014-05-12 21:18:24 UTC (rev 168645)
+++ trunk/Source/WebKit2/ChangeLog	2014-05-12 21:34:06 UTC (rev 168646)
@@ -1,3 +1,14 @@
+2014-05-12  Dan Bernstein  <[email protected]>
+
+        [Cocoa] Expose WebPage::usesEphemeralSession to the bundle
+        https://bugs.webkit.org/show_bug.cgi?id=132836
+
+        Reviewed by Anders Carlsson.
+
+        * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:
+        (-[WKWebProcessPlugInBrowserContextController _usesNonPersistentWebsiteDataStore]):
+        * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h:
+
 2014-05-12  Carlos Alberto Lopez Perez  <[email protected]>
 
         REGRESSION(168625): [GTK] build broken due to WKContextSetLocalStorageDirectory

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm (168645 => 168646)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm	2014-05-12 21:18:24 UTC (rev 168645)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm	2014-05-12 21:34:06 UTC (rev 168646)
@@ -484,6 +484,11 @@
     _page->setDefersLoading(defersLoading);
 }
 
+- (BOOL)_usesNonPersistentWebsiteDataStore
+{
+    return _page->usesEphemeralSession();
+}
+
 @end
 
 #endif // WK_API_ENABLED

Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h (168645 => 168646)


--- trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h	2014-05-12 21:18:24 UTC (rev 168645)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h	2014-05-12 21:34:06 UTC (rev 168646)
@@ -45,6 +45,8 @@
 
 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading;
 
+@property (nonatomic, readonly) BOOL _usesNonPersistentWebsiteDataStore;
+
 + (instancetype)lookUpBrowsingContextFromHandle:(WKBrowsingContextHandle *)handle;
 
 @end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to