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

Unified Diff: third_party/WebKit/Source/core/testing/WorkerInternals.h

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: tweak Created 3 years, 10 months 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/testing/WorkerInternals.h
diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.h b/third_party/WebKit/Source/core/testing/WorkerInternals.h
index 8669efd7dac320559cb8b9238514f6f6e1783cdf..bfb0d9abb5f13c4fbc27756c66bef0c0dee7b4b2 100644
--- a/third_party/WebKit/Source/core/testing/WorkerInternals.h
+++ b/third_party/WebKit/Source/core/testing/WorkerInternals.h
@@ -11,6 +11,7 @@
namespace blink {
class OriginTrialsTest;
+class ScriptState;
class WorkerInternals final : public GarbageCollectedFinalized<WorkerInternals>,
public ScriptWrappable {
@@ -19,7 +20,10 @@ class WorkerInternals final : public GarbageCollectedFinalized<WorkerInternals>,
public:
static WorkerInternals* create() { return new WorkerInternals(); }
virtual ~WorkerInternals();
+
OriginTrialsTest* originTrialsTest() const;
+ void countFeature(ScriptState*, uint32_t useCounterId);
+ void countDeprecation(ScriptState*, uint32_t useCounterId);
DEFINE_INLINE_TRACE() {}

Powered by Google App Engine
This is Rietveld 408576698