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

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 a18191346227657f87a31d9424cd982d18b37496..992ce2386acfb5fa93be676ce1d3ad891cf067a8 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
@@ -82,6 +82,17 @@ private:
namespace InspectorInstrumentation {
+class CORE_EXPORT AsyncTask {
+ STACK_ALLOCATED();
+public:
+ AsyncTask(ExecutionContext*, void* task);
+ ~AsyncTask();
+
+private:
+ Member<ExecutionContext> m_context;
+ void* m_task;
+};
+
class CORE_EXPORT FrontendCounter {
STATIC_ONLY(FrontendCounter);
private:

Powered by Google App Engine
This is Rietveld 408576698