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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 2535093003: Worker: Connect UseCounter to workers and worklets (Closed)
Patch Set: remove 'const' qualifiers Created 4 years 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: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index 71e6cfcc06b0033c308a61fcc46f0c8cb7837094..156e5868f14d8a409f343bd17472c1044cacdfbe 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -352,6 +352,18 @@ bool ServiceWorkerGlobalScopeProxy::hasFetchEventHandler() {
return m_workerGlobalScope->hasEventListeners(EventTypeNames::fetch);
}
+void ServiceWorkerGlobalScopeProxy::countFeature(UseCounter::Feature) {
+ // TODO(nhiroki): Support UseCounter for ServiceWorker. Send an IPC message to
+ // the browser process and ask each controlled document to record API use in
+ // its UseCoutner (https://crbug.com/376039).
+}
+
+void ServiceWorkerGlobalScopeProxy::countDeprecation(UseCounter::Feature) {
+ // TODO(nhiroki): Support UseCounter for ServiceWorker. Send an IPC message to
+ // the browser process and ask each controlled document to record API use in
+ // its UseCoutner (https://crbug.com/376039).
+}
+
void ServiceWorkerGlobalScopeProxy::reportException(
const String& errorMessage,
std::unique_ptr<SourceLocation> location,

Powered by Google App Engine
This is Rietveld 408576698