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

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

Issue 2535653002: Worker: Deprecate PostTaskToMainExecutionContext (Closed)
Patch Set: Created 4 years, 1 month 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/ThreadedMessagingProxyBase.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
index deae581f3105b04589ff870d9ae02ce5eeac3b22..f0f9c2a51014f7d19b42889d3e4fe25a39db9c41 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
@@ -6,6 +6,7 @@
#define ThreadedMessagingProxyBase_h
#include "core/CoreExport.h"
+#include "core/frame/UseCounter.h"
#include "core/inspector/ConsoleTypes.h"
#include "core/workers/WorkerLoaderProxy.h"
#include "wtf/Forward.h"
@@ -31,6 +32,9 @@ class CORE_EXPORT ThreadedMessagingProxyBase
// initially created it. This object could either be a Worker or a Worklet.
virtual void parentObjectDestroyed();
+ void countFeature(UseCounter::Feature);
+ void countDeprecation(UseCounter::Feature);
+
void reportConsoleMessage(MessageSource,
MessageLevel,
const String& message,

Powered by Google App Engine
This is Rietveld 408576698