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

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

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/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 43d3f1ab6c1c7f7bdc8be2e7a8bf3a868330eae0..d4fff667ecefead740a04304ab7c8a44e0debeb5 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"
@@ -70,12 +69,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