Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(944)

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 2235543002: Keep track of how many documents had a resource intercepted by foreign fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 57444488088e2dfc1a02356f5398af8017a8f705..09de4f04a11ac699fe28286b1012898de246acbf 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -414,6 +414,16 @@ void WebURLResponse::setWasFetchedViaServiceWorker(bool value)
m_resourceResponse->setWasFetchedViaServiceWorker(value);
}
+bool WebURLResponse::wasFetchedViaForeignFetch() const
+{
+ return m_resourceResponse->wasFetchedViaForeignFetch();
+}
+
+void WebURLResponse::setWasFetchedViaForeignFetch(bool value)
+{
+ m_resourceResponse->setWasFetchedViaForeignFetch(value);
+}
+
bool WebURLResponse::wasFallbackRequiredByServiceWorker() const
{
return m_resourceResponse->wasFallbackRequiredByServiceWorker();

Powered by Google App Engine
This is Rietveld 408576698