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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h

Issue 1857713004: DevTools: simplify the async instrumentation harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/inspector/InspectorInstrumentation.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
index 3afad9a4181de675015113280c8c4373c9359ade..2a548f18c2d559576a7b8c5714de5f9b6f875a98 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
@@ -82,6 +82,18 @@ private:
namespace InspectorInstrumentation {
+class CORE_EXPORT AsyncTask {
+ STACK_ALLOCATED();
+public:
+ AsyncTask(ExecutionContext*, void* task);
+ AsyncTask(ExecutionContext*, void* task, bool enabled);
+ ~AsyncTask();
+
+private:
+ Member<InstrumentingAgents> m_instrumentingAgents;
+ void* m_task;
+};
+
class CORE_EXPORT FrontendCounter {
STATIC_ONLY(FrontendCounter);
private:

Powered by Google App Engine
This is Rietveld 408576698