<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[260795] branches/safari-609.2.9.0-branch/Source/WebKit</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/260795">260795</a></dd>
<dt>Author</dt> <dd>repstein@apple.com</dd>
<dt>Date</dt> <dd>2020-04-27 16:06:11 -0700 (Mon, 27 Apr 2020)</dd>
</dl>

<h3>Log Message</h3>
<pre>Apply patch. rdar://problem/62377357</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branchessafari609290branchSourceWebKitChangeLog">branches/safari-609.2.9.0-branch/Source/WebKit/ChangeLog</a></li>
<li><a href="#branchessafari609290branchSourceWebKitNetworkProcessClassifierWebResourceLoadStatisticsStorecpp">branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp</a></li>
<li><a href="#branchessafari609290branchSourceWebKitNetworkProcessClassifierWebResourceLoadStatisticsStoreh">branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h</a></li>
<li><a href="#branchessafari609290branchSourceWebKitNetworkProcessNetworkProcesscpp">branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkProcess.cpp</a></li>
<li><a href="#branchessafari609290branchSourceWebKitNetworkProcessNetworkSessioncpp">branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.cpp</a></li>
<li><a href="#branchessafari609290branchSourceWebKitNetworkProcessNetworkSessionh">branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branchessafari609290branchSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: branches/safari-609.2.9.0-branch/Source/WebKit/ChangeLog (260794 => 260795)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-609.2.9.0-branch/Source/WebKit/ChangeLog 2020-04-27 22:59:03 UTC (rev 260794)
+++ branches/safari-609.2.9.0-branch/Source/WebKit/ChangeLog    2020-04-27 23:06:11 UTC (rev 260795)
</span><span class="lines">@@ -1,3 +1,42 @@
</span><ins>+2020-04-27  Russell Epstein  <repstein@apple.com>
+
+        Apply patch. rdar://problem/62377357
+
+    2020-04-27  Alex Christensen  <achristensen@webkit.org>
+
+            Stop waiting for a BinarySemaphore on the main thread in the NetworkProcess
+            https://bugs.webkit.org/show_bug.cgi?id=211080
+            <rdar://problem/62377357>
+
+            Reviewed by Darin Adler and Chris Dumez.
+
+            There was an out-of-date comment suggesting we needed to use a semaphore, but we've since added these in the destructor:
+            RELEASE_ASSERT(!m_statisticsStore);
+            RELEASE_ASSERT(!m_persistentStorage);
+            This indicates that flushAndDestroyPersistentStore is called before the destructor, at which time it is safe to add a reference to keep it alive.
+            WebResourceLoadStatisticsStore is also marked as WTF::DestructionThread::Main so this should do everything we need.
+            We also flush these databases to disk before closing like we did cookies.
+
+            In order to keep tests working as they are, I needed to make recreateResourceLoadStatisticStore have a CompletionHandler and have all
+            WebResourceLoadStatisticsStores share the same queue to serialize background tasks between WebResourceLoadStatisticsStores with and without database stores
+            sequentially to avoid opening a SQLiteDatabase before the previous WebResourceLoadStatisticsStore had closed it.
+
+            * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:
+            (WebKit::sharedStatisticsQueue):
+            (WebKit::WebResourceLoadStatisticsStore::WebResourceLoadStatisticsStore):
+            (WebKit::WebResourceLoadStatisticsStore::didDestroyNetworkSession):
+            (WebKit::WebResourceLoadStatisticsStore::flushAndDestroyPersistentStore):
+            (WebKit::WebResourceLoadStatisticsStore::applicationWillTerminate): Deleted.
+            * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h:
+            * NetworkProcess/NetworkProcess.cpp:
+            (WebKit::NetworkProcess::didClose):
+            * NetworkProcess/NetworkSession.cpp:
+            (WebKit::NetworkSession::~NetworkSession):
+            (WebKit::NetworkSession::destroyResourceLoadStatistics):
+            (WebKit::NetworkSession::setResourceLoadStatisticsEnabled):
+            (WebKit::NetworkSession::recreateResourceLoadStatisticStore):
+            * NetworkProcess/NetworkSession.h:
+
</ins><span class="cx"> 2020-04-23  Russell Epstein  <repstein@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Apply patch. rdar://problem/62272256
</span></span></pre></div>
<a id="branchessafari609290branchSourceWebKitNetworkProcessClassifierWebResourceLoadStatisticsStorecpp"></a>
<div class="modfile"><h4>Modified: branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp (260794 => 260795)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp      2020-04-27 22:59:03 UTC (rev 260794)
+++ branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp 2020-04-27 23:06:11 UTC (rev 260795)
</span><span class="lines">@@ -150,9 +150,15 @@
</span><span class="cx">     completionHandler();
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+static Ref<WorkQueue> sharedStatisticsQueue()
+{
+    static NeverDestroyed<Ref<WorkQueue>> queue(WorkQueue::create("WebResourceLoadStatisticsStore Process Data Queue", WorkQueue::Type::Serial, WorkQueue::QOS::Utility));
+    return queue.get().copyRef();
+}
+
</ins><span class="cx"> WebResourceLoadStatisticsStore::WebResourceLoadStatisticsStore(NetworkSession& networkSession, const String& resourceLoadStatisticsDirectory, ShouldIncludeLocalhost shouldIncludeLocalhost)
</span><span class="cx">     : m_networkSession(makeWeakPtr(networkSession))
</span><del>-    , m_statisticsQueue(WorkQueue::create("WebResourceLoadStatisticsStore Process Data Queue", WorkQueue::Type::Serial, WorkQueue::QOS::Utility))
</del><ins>+    , m_statisticsQueue(sharedStatisticsQueue())
</ins><span class="cx">     , m_dailyTasksTimer(RunLoop::main(), this, &WebResourceLoadStatisticsStore::performDailyTasks)
</span><span class="cx"> {
</span><span class="cx">     RELEASE_ASSERT(RunLoop::isMain());
</span><span class="lines">@@ -182,12 +188,12 @@
</span><span class="cx">     RELEASE_ASSERT(!m_persistentStorage);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebResourceLoadStatisticsStore::didDestroyNetworkSession()
</del><ins>+void WebResourceLoadStatisticsStore::didDestroyNetworkSession(CompletionHandler<void()>&& completionHandler)
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(RunLoop::isMain());
</span><span class="cx"> 
</span><span class="cx">     m_networkSession = nullptr;
</span><del>-    flushAndDestroyPersistentStore();
</del><ins>+    flushAndDestroyPersistentStore(WTFMove(completionHandler));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> inline void WebResourceLoadStatisticsStore::postTask(WTF::Function<void()>&& task)
</span><span class="lines">@@ -204,21 +210,17 @@
</span><span class="cx">     RunLoop::main().dispatch(WTFMove(reply));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebResourceLoadStatisticsStore::flushAndDestroyPersistentStore()
</del><ins>+void WebResourceLoadStatisticsStore::flushAndDestroyPersistentStore(CompletionHandler<void()>&& completionHandler)
</ins><span class="cx"> {
</span><span class="cx">     RELEASE_ASSERT(RunLoop::isMain());
</span><span class="cx"> 
</span><del>-    // Make sure we destroy the persistent store on the background queue and wait for it to die
-    // synchronously since it has a C++ reference to us. Blocking nature of this task allows us
-    // to not maintain a WebResourceLoadStatisticsStore reference for the duration of dispatch,
-    // avoiding double-deletion issues when this is invoked from the destructor.
-    BinarySemaphore semaphore;
-    m_statisticsQueue->dispatch([&semaphore, this] {
</del><ins>+    // Make sure we destroy the persistent store on the background queue and stay alive until it
+    // is destroyed because it has a C++ reference to us.
+    m_statisticsQueue->dispatch([this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)] () mutable {
</ins><span class="cx">         m_persistentStorage = nullptr;
</span><span class="cx">         m_statisticsStore = nullptr;
</span><del>-        semaphore.signal();
</del><ins>+        RunLoop::main().dispatch(WTFMove(completionHandler));
</ins><span class="cx">     });
</span><del>-    semaphore.wait();
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebResourceLoadStatisticsStore::populateMemoryStoreFromDisk(CompletionHandler<void()>&& completionHandler)
</span><span class="lines">@@ -520,12 +522,6 @@
</span><span class="cx">     completionHandler();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebResourceLoadStatisticsStore::applicationWillTerminate()
-{
-    ASSERT(RunLoop::isMain());
-    flushAndDestroyPersistentStore();
-}
-
</del><span class="cx"> void WebResourceLoadStatisticsStore::performDailyTasks()
</span><span class="cx"> {
</span><span class="cx">     ASSERT(RunLoop::isMain());
</span></span></pre></div>
<a id="branchessafari609290branchSourceWebKitNetworkProcessClassifierWebResourceLoadStatisticsStoreh"></a>
<div class="modfile"><h4>Modified: branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h (260794 => 260795)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h        2020-04-27 22:59:03 UTC (rev 260794)
+++ branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h   2020-04-27 23:06:11 UTC (rev 260795)
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx">     }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-    void didDestroyNetworkSession();
</del><ins>+    void didDestroyNetworkSession(CompletionHandler<void()>&&);
</ins><span class="cx"> 
</span><span class="cx">     static const OptionSet<WebsiteDataType>& monitoredDataTypes();
</span><span class="cx"> 
</span><span class="lines">@@ -208,8 +208,6 @@
</span><span class="cx"> 
</span><span class="cx">     void grantStorageAccess(const SubFrameDomain&, const TopFrameDomain&, WebCore::FrameIdentifier, WebCore::PageIdentifier, StorageAccessPromptWasShown, CompletionHandler<void(StorageAccessWasGranted, StorageAccessPromptWasShown)>&&);
</span><span class="cx"> 
</span><del>-    void applicationWillTerminate();
-
</del><span class="cx">     void logFrameNavigation(const NavigatedToDomain&, const TopFrameDomain&, const NavigatedFromDomain&, bool isRedirect, bool isMainFrame, Seconds delayAfterMainFrameDocumentLoad, bool wasPotentiallyInitiatedByUser);
</span><span class="cx">     void logUserInteraction(const TopFrameDomain&, CompletionHandler<void()>&&);
</span><span class="cx">     void logCrossSiteLoadWithLinkDecoration(const NavigatedFromDomain&, const NavigatedToDomain&, CompletionHandler<void()>&&);
</span><span class="lines">@@ -300,7 +298,7 @@
</span><span class="cx"> 
</span><span class="cx">     StorageAccessStatus storageAccessStatus(const String& subFramePrimaryDomain, const String& topFramePrimaryDomain);
</span><span class="cx"> 
</span><del>-    void flushAndDestroyPersistentStore();
</del><ins>+    void flushAndDestroyPersistentStore(CompletionHandler<void()>&&);
</ins><span class="cx"> 
</span><span class="cx">     WeakPtr<NetworkSession> m_networkSession;
</span><span class="cx">     Ref<WTF::WorkQueue> m_statisticsQueue;
</span></span></pre></div>
<a id="branchessafari609290branchSourceWebKitNetworkProcessNetworkProcesscpp"></a>
<div class="modfile"><h4>Modified: branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkProcess.cpp (260794 => 260795)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkProcess.cpp 2020-04-27 22:59:03 UTC (rev 260794)
+++ branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkProcess.cpp    2020-04-27 23:06:11 UTC (rev 260795)
</span><span class="lines">@@ -258,10 +258,18 @@
</span><span class="cx"> {
</span><span class="cx">     ASSERT(RunLoop::isMain());
</span><span class="cx"> 
</span><del>-    // Make sure we flush all cookies to disk before exiting.
-    platformSyncAllCookies([this] {
</del><ins>+    auto callbackAggregator = CallbackAggregator::create([this] {
+        ASSERT(RunLoop::isMain());
</ins><span class="cx">         stopRunLoop();
</span><span class="cx">     });
</span><ins>+
+    // Make sure we flush all cookies and resource load statistics to disk before exiting.
+#if ENABLE(RESOURCE_LOAD_STATISTICS)
+    forEachNetworkSession([&] (auto& networkSession) {
+        networkSession.destroyResourceLoadStatistics([callbackAggregator = callbackAggregator.copyRef()] { });
+    });
+#endif
+    platformSyncAllCookies([callbackAggregator = callbackAggregator.copyRef()] { });
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void NetworkProcess::didCreateDownload()
</span></span></pre></div>
<a id="branchessafari609290branchSourceWebKitNetworkProcessNetworkSessioncpp"></a>
<div class="modfile"><h4>Modified: branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.cpp (260794 => 260795)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.cpp 2020-04-27 22:59:03 UTC (rev 260794)
+++ branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.cpp    2020-04-27 23:06:11 UTC (rev 260795)
</span><span class="lines">@@ -122,17 +122,17 @@
</span><span class="cx"> NetworkSession::~NetworkSession()
</span><span class="cx"> {
</span><span class="cx"> #if ENABLE(RESOURCE_LOAD_STATISTICS)
</span><del>-    destroyResourceLoadStatistics();
</del><ins>+    destroyResourceLoadStatistics([] { });
</ins><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(RESOURCE_LOAD_STATISTICS)
</span><del>-void NetworkSession::destroyResourceLoadStatistics()
</del><ins>+void NetworkSession::destroyResourceLoadStatistics(CompletionHandler<void()>&& completionHandler)
</ins><span class="cx"> {
</span><span class="cx">     if (!m_resourceLoadStatistics)
</span><del>-        return;
</del><ins>+        return completionHandler();
</ins><span class="cx"> 
</span><del>-    m_resourceLoadStatistics->didDestroyNetworkSession();
</del><ins>+    m_resourceLoadStatistics->didDestroyNetworkSession(WTFMove(completionHandler));
</ins><span class="cx">     m_resourceLoadStatistics = nullptr;
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="lines">@@ -157,7 +157,7 @@
</span><span class="cx">     if (auto* storageSession = networkStorageSession())
</span><span class="cx">         storageSession->setResourceLoadStatisticsEnabled(enable);
</span><span class="cx">     if (!enable) {
</span><del>-        destroyResourceLoadStatistics();
</del><ins>+        destroyResourceLoadStatistics([] { });
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -181,10 +181,13 @@
</span><span class="cx"> 
</span><span class="cx"> void NetworkSession::recreateResourceLoadStatisticStore(CompletionHandler<void()>&& completionHandler)
</span><span class="cx"> {
</span><del>-    destroyResourceLoadStatistics();
-    m_resourceLoadStatistics = WebResourceLoadStatisticsStore::create(*this, m_resourceLoadStatisticsDirectory, m_shouldIncludeLocalhostInResourceLoadStatistics);
-    m_resourceLoadStatistics->populateMemoryStoreFromDisk(WTFMove(completionHandler));
-    forwardResourceLoadStatisticsSettings();
</del><ins>+    destroyResourceLoadStatistics([this, weakThis = makeWeakPtr(*this), completionHandler = WTFMove(completionHandler)] () mutable {
+        if (!weakThis)
+            return completionHandler();
+        m_resourceLoadStatistics = WebResourceLoadStatisticsStore::create(*this, m_resourceLoadStatisticsDirectory, m_shouldIncludeLocalhostInResourceLoadStatistics);
+        m_resourceLoadStatistics->populateMemoryStoreFromDisk(WTFMove(completionHandler));
+        forwardResourceLoadStatisticsSettings();
+    });
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void NetworkSession::forwardResourceLoadStatisticsSettings()
</span></span></pre></div>
<a id="branchessafari609290branchSourceWebKitNetworkProcessNetworkSessionh"></a>
<div class="modfile"><h4>Modified: branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.h (260794 => 260795)</h4>
<pre class="diff"><span>
<span class="info">--- branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.h   2020-04-27 22:59:03 UTC (rev 260794)
+++ branches/safari-609.2.9.0-branch/Source/WebKit/NetworkProcess/NetworkSession.h      2020-04-27 23:06:11 UTC (rev 260795)
</span><span class="lines">@@ -100,6 +100,7 @@
</span><span class="cx">     void setShouldDowngradeReferrerForTesting(bool);
</span><span class="cx">     bool shouldDowngradeReferrer() const;
</span><span class="cx">     void setThirdPartyCookieBlockingMode(WebCore::ThirdPartyCookieBlockingMode);
</span><ins>+    void destroyResourceLoadStatistics(CompletionHandler<void()>&&);
</ins><span class="cx"> #endif
</span><span class="cx">     void storeAdClickAttribution(WebCore::AdClickAttribution&&);
</span><span class="cx">     void handleAdClickAttributionConversion(WebCore::AdClickAttribution::Conversion&&, const URL& requestURL, const WebCore::ResourceRequest& redirectRequest);
</span><span class="lines">@@ -138,7 +139,6 @@
</span><span class="cx">     NetworkSession(NetworkProcess&, const NetworkSessionCreationParameters&);
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(RESOURCE_LOAD_STATISTICS)
</span><del>-    void destroyResourceLoadStatistics();
</del><span class="cx">     void forwardResourceLoadStatisticsSettings();
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>