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

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

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: simplify 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..e2f3f088cfcf7ef79cfe0470e2d3130ee5fa677c 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 feature);
+ void countDeprecation(ScriptState*, uint32_t feature);
DEFINE_INLINE_TRACE() {}
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | third_party/WebKit/Source/core/testing/WorkerInternals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698