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

Unified Diff: third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h

Issue 1708583003: Pass data saver pref value into embedded worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 4 years, 9 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/WebEmbeddedWorkerImpl.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/web/WebEmbeddedWorkerStartData.h
diff --git a/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h b/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
index 33f850e3fc13bf052582b349d407b4ca704bc5be..3f54a7d461534faedf89fe271132a23bc2156305 100644
--- a/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
+++ b/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
@@ -53,11 +53,13 @@ struct WebEmbeddedWorkerStartData {
PauseAfterDownloadMode pauseAfterDownloadMode;
WaitForDebuggerMode waitForDebuggerMode;
WebSettings::V8CacheOptions v8CacheOptions;
+ bool dataSaverEnabled;
WebEmbeddedWorkerStartData()
: pauseAfterDownloadMode(DontPauseAfterDownload)
, waitForDebuggerMode(DontWaitForDebugger)
, v8CacheOptions(WebSettings::V8CacheOptionsDefault)
+ , dataSaverEnabled(false)
{
}
};
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698