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

Unified Diff: content/browser/service_worker/service_worker_context_watcher.h

Issue 2917643002: PlzNavigate: Fix ServiceWorkerHandler not finding WebContents. (Closed)
Patch Set: Shorter comment. 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
Index: content/browser/service_worker/service_worker_context_watcher.h
diff --git a/content/browser/service_worker/service_worker_context_watcher.h b/content/browser/service_worker/service_worker_context_watcher.h
index afca96b2a80744066358829f86ffaa64e5a6d399..189bf84f5741bcbe68263b1d5bb48c0e7793617e 100644
--- a/content/browser/service_worker/service_worker_context_watcher.h
+++ b/content/browser/service_worker/service_worker_context_watcher.h
@@ -90,11 +90,13 @@ class ServiceWorkerContextWatcher
int process_id,
int thread_id,
const ConsoleMessage& message) override;
- void OnControlleeAdded(int64_t version_id,
- const std::string& uuid,
- int process_id,
- int route_id,
- ServiceWorkerProviderType type) override;
+ void OnControlleeAdded(
+ int64_t version_id,
+ const std::string& uuid,
+ int process_id,
+ int route_id,
+ const base::Callback<WebContents*(void)>& web_contents_getter,
+ ServiceWorkerProviderType type) override;
void OnControlleeRemoved(int64_t version_id,
const std::string& uuid) override;
void OnRegistrationStored(int64_t registration_id,

Powered by Google App Engine
This is Rietveld 408576698