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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: same as PS6 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 | « content/common/worker_messages.h ('k') | content/renderer/shared_worker/embedded_shared_worker_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 1f51af05768cec3ce702e55f26f648b462ed9ede..6f6c9747df5c13293efa246ee71efcba219e2ec9 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -2210,7 +2210,7 @@ void RenderThreadImpl::OnCreateNewSharedWorker(
new EmbeddedSharedWorkerStub(
params.url, params.name, params.content_security_policy,
params.security_policy_type, params.creation_address_space,
- params.pause_on_start, params.route_id);
+ params.pause_on_start, params.route_id, params.data_saver_enabled);
}
void RenderThreadImpl::OnMemoryPressure(
« no previous file with comments | « content/common/worker_messages.h ('k') | content/renderer/shared_worker/embedded_shared_worker_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698