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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerReportingProxy.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/WorkerReportingProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
index d1f3a826ad7200823f6ac97644b61e7047753958..019e41586b99bda5b585579689ca3c9f4fc023fe 100644
--- a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
@@ -32,6 +32,7 @@
#define WorkerReportingProxy_h
#include "core/CoreExport.h"
+#include "core/frame/UseCounter.h"
#include "core/inspector/ConsoleTypes.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -48,6 +49,8 @@ class CORE_EXPORT WorkerReportingProxy {
public:
virtual ~WorkerReportingProxy() {}
+ virtual void countFeature(UseCounter::Feature) = 0;
+ virtual void countDeprecation(UseCounter::Feature) = 0;
virtual void reportException(const String& errorMessage,
std::unique_ptr<SourceLocation>,
int exceptionId) = 0;

Powered by Google App Engine
This is Rietveld 408576698