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

Unified Diff: third_party/WebKit/public/platform/WebWorkerFetchContext.h

Issue 2886663002: DataSaver support for off-main-thread-fetch (Closed)
Patch Set: rebase on TOT Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebWorkerFetchContext.h
diff --git a/third_party/WebKit/public/platform/WebWorkerFetchContext.h b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
index d453fde3190d68f6d33d5c7db1c853861d09dd31..cbe3ac73b4ec8b63744e246587d71d2a8753b7b4 100644
--- a/third_party/WebKit/public/platform/WebWorkerFetchContext.h
+++ b/third_party/WebKit/public/platform/WebWorkerFetchContext.h
@@ -36,6 +36,10 @@ class WebWorkerFetchContext {
// Whether the fetch context is controlled by a service worker.
virtual bool IsControlledByServiceWorker() const = 0;
+
+ // The flag for Data Saver.
+ virtual void SetDataSaverEnabled(bool) = 0;
+ virtual bool IsDataSaverEnabled() const = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698