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

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

Issue 1149383004: [3/5 chromium] Shows the clients which are controlled by ServiceWorker in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated nhiroki's comment Created 5 years, 6 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_observer.h
diff --git a/content/browser/service_worker/service_worker_context_observer.h b/content/browser/service_worker/service_worker_context_observer.h
index 049cbfa1918e0d8d1a0e9befce881d8cec0a22e9..cf35d46b1b23f0dae196073700d87263e51c81f4 100644
--- a/content/browser/service_worker/service_worker_context_observer.h
+++ b/content/browser/service_worker/service_worker_context_observer.h
@@ -67,6 +67,12 @@ class ServiceWorkerContextObserver {
int process_id,
int thread_id,
const ConsoleMessage& message) {}
+ virtual void OnControlleeAdded(int64 version_id,
+ const std::string& uuid,
+ int process_id,
+ int route_id,
+ ServiceWorkerProviderType type) {}
+ virtual void OnControlleeRemoved(int64 version_id, const std::string& uuid) {}
virtual void OnRegistrationStored(int64 registration_id,
const GURL& pattern) {}
virtual void OnRegistrationDeleted(int64 registration_id,

Powered by Google App Engine
This is Rietveld 408576698