Title: [185305] trunk/Source/WebKit/mac
Revision
185305
Author
[email protected]
Date
2015-06-07 16:36:41 -0700 (Sun, 07 Jun 2015)

Log Message

Remove unused SPI
https://bugs.webkit.org/show_bug.cgi?id=145742

Reviewed by Dan Bernstein.

* WebCoreSupport/WebFrameNetworkingContext.h:
* WebCoreSupport/WebFrameNetworkingContext.mm:
(WebFrameNetworkingContext::clearPrivateBrowsingSessionCookieStorage): Deleted.
* WebView/WebView.mm:
(+[WebView _clearPrivateBrowsingSessionCookieStorage]): Deleted.
* WebView/WebViewPrivate.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (185304 => 185305)


--- trunk/Source/WebKit/mac/ChangeLog	2015-06-07 23:11:55 UTC (rev 185304)
+++ trunk/Source/WebKit/mac/ChangeLog	2015-06-07 23:36:41 UTC (rev 185305)
@@ -1,3 +1,17 @@
+2015-06-07  Anders Carlsson  <[email protected]>
+
+        Remove unused SPI
+        https://bugs.webkit.org/show_bug.cgi?id=145742
+
+        Reviewed by Dan Bernstein.
+
+        * WebCoreSupport/WebFrameNetworkingContext.h:
+        * WebCoreSupport/WebFrameNetworkingContext.mm:
+        (WebFrameNetworkingContext::clearPrivateBrowsingSessionCookieStorage): Deleted.
+        * WebView/WebView.mm:
+        (+[WebView _clearPrivateBrowsingSessionCookieStorage]): Deleted.
+        * WebView/WebViewPrivate.h:
+
 2015-06-06  Dan Bernstein  <[email protected]>
 
         Restored binary compatibility with shipping Safari.

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.h (185304 => 185305)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.h	2015-06-07 23:11:55 UTC (rev 185304)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.h	2015-06-07 23:36:41 UTC (rev 185305)
@@ -38,12 +38,6 @@
     static void ensurePrivateBrowsingSession();
     static void destroyPrivateBrowsingSession();
 
-#if PLATFORM(IOS)
-    // FIXME: If MobileSafari ever switches to per-tab or non-shared private storage, then this can be removed.
-    // <rdar://problem/10075665> Sub-TLF: Per-tab private browsing
-    static void clearPrivateBrowsingSessionCookieStorage();
-#endif
-
 private:
 
     WebFrameNetworkingContext(WebCore::Frame* frame)

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm (185304 => 185305)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm	2015-06-07 23:11:55 UTC (rev 185304)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm	2015-06-07 23:36:41 UTC (rev 185305)
@@ -66,16 +66,6 @@
     privateSession() = nullptr;
 }
 
-#if PLATFORM(IOS)
-void WebFrameNetworkingContext::clearPrivateBrowsingSessionCookieStorage()
-{
-    ASSERT(isMainThread());
-    ASSERT(privateSession());
-
-    CFHTTPCookieStorageDeleteAllCookies(privateSession()->cookieStorage().get());
-}
-#endif
-
 bool WebFrameNetworkingContext::localFileContentSniffingEnabled() const
 {
     return frame() && frame()->settings().localFileContentSniffingEnabled();

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (185304 => 185305)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2015-06-07 23:11:55 UTC (rev 185304)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2015-06-07 23:36:41 UTC (rev 185305)
@@ -1328,11 +1328,6 @@
     });
 }
 
-+ (void)_clearPrivateBrowsingSessionCookieStorage
-{
-    WebFrameNetworkingContext::clearPrivateBrowsingSessionCookieStorage();
-}
-
 - (void)_replaceCurrentHistoryItem:(WebHistoryItem *)item
 {
     Frame* frame = [self _mainCoreFrame];

Modified: trunk/Source/WebKit/mac/WebView/WebViewPrivate.h (185304 => 185305)


--- trunk/Source/WebKit/mac/WebView/WebViewPrivate.h	2015-06-07 23:11:55 UTC (rev 185304)
+++ trunk/Source/WebKit/mac/WebView/WebViewPrivate.h	2015-06-07 23:36:41 UTC (rev 185305)
@@ -459,7 +459,6 @@
 + (void)_clearMemoryPressure;
 + (BOOL)_shouldWaitForMemoryClearMessage;
 + (void)_releaseMemoryNow;
-+ (void)_clearPrivateBrowsingSessionCookieStorage;
 
 - (void)_replaceCurrentHistoryItem:(WebHistoryItem *)item;
 #endif // PLATFORM(IOS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to