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

Unified Diff: content/browser/service_worker/service_worker_context_core.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_core.h
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h
index 1a6946aa52500730cda65d3c2ea1e732e72988e1..c764f0724f8267bd6cd4cf4b585e56d54074b6e4 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -128,6 +128,10 @@ class CONTENT_EXPORT ServiceWorkerContextCore
const base::string16& message,
int line_number,
const GURL& source_url) override;
+ void OnControlleeAdded(ServiceWorkerVersion* version,
+ ServiceWorkerProviderHost* provider_host) override;
+ void OnControlleeRemoved(ServiceWorkerVersion* version,
+ ServiceWorkerProviderHost* provider_host) override;
ServiceWorkerContextWrapper* wrapper() const { return wrapper_; }
ServiceWorkerStorage* storage() { return storage_.get(); }

Powered by Google App Engine
This is Rietveld 408576698