Title: [233587] trunk/Source/WebKit
Revision
233587
Author
[email protected]
Date
2018-07-06 12:33:06 -0700 (Fri, 06 Jul 2018)

Log Message

WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler() should take in a CompletionHandler
https://bugs.webkit.org/show_bug.cgi?id=187392

Reviewed by Youenn Fablet.

* UIProcess/WebResourceLoadStatisticsStore.cpp:
(WebKit::WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler):
* UIProcess/WebResourceLoadStatisticsStore.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (233586 => 233587)


--- trunk/Source/WebKit/ChangeLog	2018-07-06 19:24:59 UTC (rev 233586)
+++ trunk/Source/WebKit/ChangeLog	2018-07-06 19:33:06 UTC (rev 233587)
@@ -1,5 +1,16 @@
 2018-07-06  Chris Dumez  <[email protected]>
 
+        WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler() should take in a CompletionHandler
+        https://bugs.webkit.org/show_bug.cgi?id=187392
+
+        Reviewed by Youenn Fablet.
+
+        * UIProcess/WebResourceLoadStatisticsStore.cpp:
+        (WebKit::WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler):
+        * UIProcess/WebResourceLoadStatisticsStore.h:
+
+2018-07-06  Chris Dumez  <[email protected]>
+
         [iOS] Assertion failure in WebProcessProxy::allProcesses() (isMainThread())
         https://bugs.webkit.org/show_bug.cgi?id=187394
 

Modified: trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp (233586 => 233587)


--- trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp	2018-07-06 19:24:59 UTC (rev 233586)
+++ trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp	2018-07-06 19:33:06 UTC (rev 233587)
@@ -231,7 +231,7 @@
     });
 }
 
-void WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, Function<void(bool hasAccess)>&& callback)
+void WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, CompletionHandler<void(bool hasAccess)>&& callback)
 {
     ASSERT(RunLoop::isMain());
 

Modified: trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h (233586 => 233587)


--- trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2018-07-06 19:24:59 UTC (rev 233586)
+++ trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h	2018-07-06 19:33:06 UTC (rev 233587)
@@ -140,7 +140,7 @@
     void removeAllStorageAccess();
     void callUpdatePrevalentDomainsToPartitionOrBlockCookiesHandler(const Vector<String>& domainsToPartition, const Vector<String>& domainsToBlock, const Vector<String>& domainsToNeitherPartitionNorBlock, ShouldClearFirst, CompletionHandler<void()>&&);
     void callRemoveDomainsHandler(const Vector<String>& domains);
-    void callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, WTF::Function<void(bool)>&&);
+    void callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, CompletionHandler<void(bool)>&&);
 
 private:
     explicit WebResourceLoadStatisticsStore(WebsiteDataStore&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to