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

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

Issue 2658603003: ServiceWorker: Enable UseCounter for ServiceWorkerGlobalScope (Closed)
Patch Set: tweak unittests Created 3 years, 10 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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 3ed67ba33f4abb82da49716386d9da2e94b86508..fcf44d59e86c60e04de236676c014153d2fa5e4e 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -234,6 +234,10 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
const base::string16& message,
const std::vector<int>& sent_message_ports);
+ // Notifies an API use on the worker to the controllee's use counter. This
+ // should be called only on controllee's provider host.
falken 2017/02/09 06:03:58 It's a little hard to parse this. Suggestion: "Not
nhiroki 2017/02/13 05:42:09 Done.
+ void CountFeature(uint32_t feature);
+
// Adds reference of this host's process to the |pattern|, the reference will
// be removed in destructor.
void AddScopedProcessReferenceToPattern(const GURL& pattern);

Powered by Google App Engine
This is Rietveld 408576698