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

Unified Diff: content/browser/service_worker/service_worker_process_manager.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
Index: content/browser/service_worker/service_worker_process_manager.h
diff --git a/content/browser/service_worker/service_worker_process_manager.h b/content/browser/service_worker/service_worker_process_manager.h
index ad9a7306c4f8730588eabae8c6718237f8490895..465ed5a8fea10d6ba8d1e1a2a5644dff403ac8cb 100644
--- a/content/browser/service_worker/service_worker_process_manager.h
+++ b/content/browser/service_worker/service_worker_process_manager.h
@@ -20,6 +20,7 @@ class GURL;
namespace content {
class BrowserContext;
+struct EmbeddedWorkerSettings;
class SiteInstance;
// Interacts with the UI thread to keep RenderProcessHosts alive while the
@@ -52,7 +53,8 @@ class CONTENT_EXPORT ServiceWorkerProcessManager {
bool can_use_existing_process,
const base::Callback<void(ServiceWorkerStatusCode,
int process_id,
- bool is_new_process)>& callback);
+ bool is_new_process,
+ const EmbeddedWorkerSettings&)>& callback);
// Drops a reference to a process that was running a Service Worker, and its
// SiteInstance. This must match a call to AllocateWorkerProcess.

Powered by Google App Engine
This is Rietveld 408576698