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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp

Issue 2535093003: Worker: Connect UseCounter to workers and worklets (Closed)
Patch Set: 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/core/workers/ThreadedWorkletObjectProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
index f8fc183a13648a5b9d3bb91d3c9df58aea68b991..d3b4e4269291dccd69f620703f2ea7a8c56bad69 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
@@ -23,6 +23,18 @@ std::unique_ptr<ThreadedWorkletObjectProxy> ThreadedWorkletObjectProxy::create(
return wrapUnique(new ThreadedWorkletObjectProxy(messagingProxy));
}
+void ThreadedWorkletObjectProxy::countFeature(UseCounter::Feature) {
+ // TODO(nhiroki): Support UseCounter for ThreadedWorklets. We could do the
+ // same thing with InProcessWorkerObjectProxy here.
+ // (https://crbug.com/376039)
falken 2016/12/02 08:54:49 call NOTIMPLEMENTED()?
nhiroki 2016/12/05 04:49:01 This is reachable and NOTIMPLEMENTED() leads a cra
+}
+
+void ThreadedWorkletObjectProxy::countDeprecation(UseCounter::Feature) {
+ // TODO(nhiroki): Support UseCounter for ThreadedWorklets. We could do the
+ // same thing with InProcessWorkerObjectProxy here.
+ // (https://crbug.com/376039)
falken 2016/12/02 08:54:49 ditto
nhiroki 2016/12/05 04:49:01 This is reachable.
+}
+
void ThreadedWorkletObjectProxy::reportConsoleMessage(
MessageSource source,
MessageLevel level,

Powered by Google App Engine
This is Rietveld 408576698