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

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

Issue 2535093003: Worker: Connect UseCounter to workers and worklets (Closed)
Patch Set: Created 4 years, 1 month 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 7f6f81b1b9e1f8e90603e49de0dae8c32a3632d1..3a148265d473ff4f7566f8e521072197b4d4f13c 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -333,6 +333,16 @@ bool ServiceWorkerGlobalScopeProxy::hasFetchEventHandler() {
return m_workerGlobalScope->hasEventListeners(EventTypeNames::fetch);
}
+void ServiceWorkerGlobalScopeProxy::countFeature(UseCounter::Feature) {
+ // TODO(nhiroki): Support UseCounter for ServiceWorker.
+ // (https://crbug.com/376039)
falken 2016/12/02 08:54:49 NOTIMPLEMENTED?
nhiroki 2016/12/05 04:49:01 This is reachable.
+}
+
+void ServiceWorkerGlobalScopeProxy::countDeprecation(UseCounter::Feature) {
+ // TODO(nhiroki): Support UseCounter for ServiceWorker.
+ // (https://crbug.com/376039)
+}
+
void ServiceWorkerGlobalScopeProxy::reportException(
const String& errorMessage,
std::unique_ptr<SourceLocation> location,

Powered by Google App Engine
This is Rietveld 408576698