| 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 72803aa8826c20500ed6f96fb021325162837618..270031b3cb729ee6988333c055077d6af7828a20 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
|
| @@ -63,13 +63,15 @@ class CORE_EXPORT AsyncTask {
|
| STACK_ALLOCATED();
|
|
|
| public:
|
| - AsyncTask(ExecutionContext*, void* task);
|
| - AsyncTask(ExecutionContext*, void* task, bool enabled);
|
| + AsyncTask(ExecutionContext*, void* task, const char* step = nullptr);
|
| ~AsyncTask();
|
|
|
| + void setEnabled(bool);
|
| +
|
| private:
|
| ThreadDebugger* m_debugger;
|
| void* m_task;
|
| + bool m_recurring;
|
| };
|
|
|
| // Called from generated instrumentation code.
|
| @@ -112,12 +114,10 @@ inline InstrumentingAgents* instrumentingAgentsFor(EventTarget* eventTarget) {
|
|
|
| CORE_EXPORT void asyncTaskScheduled(ExecutionContext*,
|
| const String& name,
|
| - void*,
|
| - bool recurring = false);
|
| + void*);
|
| CORE_EXPORT void asyncTaskScheduledBreakable(ExecutionContext*,
|
| const char* name,
|
| - void*,
|
| - bool recurring = false);
|
| + void*);
|
| CORE_EXPORT void asyncTaskCanceled(ExecutionContext*, void*);
|
| CORE_EXPORT void asyncTaskCanceledBreakable(ExecutionContext*,
|
| const char* name,
|
|
|