⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 233587 in webkit


Ignore:
Timestamp:
Jul 6, 2018, 12:33:06 PM (8 years ago)
Author:
Chris Dumez
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:
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r233582 r233587  
     12018-07-06  Chris Dumez  <cdumez@apple.com>
     2
     3        WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler() should take in a CompletionHandler
     4        https://bugs.webkit.org/show_bug.cgi?id=187392
     5
     6        Reviewed by Youenn Fablet.
     7
     8        * UIProcess/WebResourceLoadStatisticsStore.cpp:
     9        (WebKit::WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler):
     10        * UIProcess/WebResourceLoadStatisticsStore.h:
     11
    1122018-07-06  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp

    r233423 r233587  
    232232}
    233233
    234 void WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, Function<void(bool hasAccess)>&& callback)
     234void WebResourceLoadStatisticsStore::callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, CompletionHandler<void(bool hasAccess)>&& callback)
    235235{
    236236    ASSERT(RunLoop::isMain());
  • trunk/Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h

    r233381 r233587  
    141141    void callUpdatePrevalentDomainsToPartitionOrBlockCookiesHandler(const Vector<String>& domainsToPartition, const Vector<String>& domainsToBlock, const Vector<String>& domainsToNeitherPartitionNorBlock, ShouldClearFirst, CompletionHandler<void()>&&);
    142142    void callRemoveDomainsHandler(const Vector<String>& domains);
    143     void callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, WTF::Function<void(bool)>&&);
     143    void callHasStorageAccessForFrameHandler(const String& resourceDomain, const String& firstPartyDomain, uint64_t frameID, uint64_t pageID, CompletionHandler<void(bool)>&&);
    144144
    145145private:
Note: See TracChangeset for help on using the changeset viewer.