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

Unified Diff: content/browser/service_worker/service_worker_context_watcher.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_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 9d4bf1f64d921e2ca71dc56d1fd99cb5dc4a4bfa..9e7fb5383733f540b1211256d58c3fd127c8f8bb 100644
--- a/content/browser/service_worker/service_worker_context_watcher.h
+++ b/content/browser/service_worker/service_worker_context_watcher.h
@@ -84,6 +84,12 @@ class ServiceWorkerContextWatcher
int process_id,
int thread_id,
const ConsoleMessage& message) override;
+ void OnControlleeAdded(int64 version_id,
+ const std::string& uuid,
+ int process_id,
+ int route_id,
+ ServiceWorkerProviderType type) override;
+ void OnControlleeRemoved(int64 version_id, const std::string& uuid) override;
void OnRegistrationStored(int64 registration_id,
const GURL& pattern) override;
void OnRegistrationDeleted(int64 registration_id,

Powered by Google App Engine
This is Rietveld 408576698