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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h

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/InProcessWorkerObjectProxy.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
index bae8ae051ad2b5590e6bc18f6eb68dd5a0bfd137..ef45abe11591dc4dbcd1d46e5ca3e0f7e142577b 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
@@ -33,7 +33,6 @@
#include "core/CoreExport.h"
#include "core/dom/MessagePort.h"
-#include "core/frame/UseCounter.h"
#include "core/workers/WorkerReportingProxy.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
@@ -71,12 +70,9 @@ class CORE_EXPORT InProcessWorkerObjectProxy : public WorkerReportingProxy {
void confirmMessageFromWorkerObject();
void startPendingActivityTimer();
- // TODO(nhiroki): Move these to WorkerReportingProxy so that we can reuse them
- // for other workers and worklets (https://crbug.com/376039, 667357).
- void countFeature(UseCounter::Feature);
- void countDeprecation(UseCounter::Feature);
-
// WorkerReportingProxy overrides.
+ void countFeature(UseCounter::Feature) override;
+ void countDeprecation(UseCounter::Feature) override;
void reportException(const String& errorMessage,
std::unique_ptr<SourceLocation>,
int exceptionId) override;

Powered by Google App Engine
This is Rietveld 408576698