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

Unified Diff: Source/core/workers/DedicatedWorkerGlobalScope.h

Issue 342103003: Support UseCounter in dedicated workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: UseCounterTask and explicit Created 6 years, 6 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: Source/core/workers/DedicatedWorkerGlobalScope.h
diff --git a/Source/core/workers/DedicatedWorkerGlobalScope.h b/Source/core/workers/DedicatedWorkerGlobalScope.h
index 9164b28b44cc11934c5a143252a99664af50cf29..e46989294f845459bc4b8c5e06eff30574253341 100644
--- a/Source/core/workers/DedicatedWorkerGlobalScope.h
+++ b/Source/core/workers/DedicatedWorkerGlobalScope.h
@@ -48,6 +48,7 @@ public:
virtual ~DedicatedWorkerGlobalScope();
virtual bool isDedicatedWorkerGlobalScope() const OVERRIDE { return true; }
+ virtual void countFeature(UseCounter::Feature) const OVERRIDE;
// Overridden to allow us to check our pending activity after executing imported script.
virtual void importScripts(const Vector<String>& urls, ExceptionState&) OVERRIDE;
@@ -59,7 +60,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
- DedicatedWorkerThread* thread();
+ DedicatedWorkerThread* thread() const;
virtual void trace(Visitor*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698