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

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

Issue 2684933011: M57: Add UseCounter for ServiceWorkerNavigationPreload. (Closed)
Patch Set: Created 3 years, 10 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 260c3652b10d864a660d92cf4c1eb4471494c778..ec5d42c669ef1352aa3327cc8f85f9e7e922f65c 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -406,6 +406,14 @@ void WebURLResponse::setCorsExposedHeaderNames(
m_resourceResponse->setCorsExposedHeaderNames(exposedHeaderNames);
}
+bool WebURLResponse::didServiceWorkerNavigationPreload() const {
+ return m_resourceResponse->didServiceWorkerNavigationPreload();
+}
+
+void WebURLResponse::setDidServiceWorkerNavigationPreload(bool value) {
+ m_resourceResponse->setDidServiceWorkerNavigationPreload(value);
+}
+
WebString WebURLResponse::downloadFilePath() const {
return m_resourceResponse->downloadedFilePath();
}

Powered by Google App Engine
This is Rietveld 408576698