| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8DebuggerAgent_h | 5 #ifndef V8DebuggerAgent_h |
| 6 #define V8DebuggerAgent_h | 6 #define V8DebuggerAgent_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/inspector_protocol/Dispatcher.h" | 9 #include "platform/inspector_protocol/Dispatcher.h" |
| 10 #include "platform/v8_inspector/public/V8Debugger.h" | 10 #include "platform/v8_inspector/public/V8Debugger.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 virtual bool canBreakProgram() = 0; | 26 virtual bool canBreakProgram() = 0; |
| 27 virtual void breakProgram(const String16& breakReason, PassOwnPtr<protocol::
DictionaryValue> data) = 0; | 27 virtual void breakProgram(const String16& breakReason, PassOwnPtr<protocol::
DictionaryValue> data) = 0; |
| 28 virtual void breakProgramOnException(const String16& breakReason, PassOwnPtr
<protocol::DictionaryValue> data) = 0; | 28 virtual void breakProgramOnException(const String16& breakReason, PassOwnPtr
<protocol::DictionaryValue> data) = 0; |
| 29 virtual void willExecuteScript(int scriptId) = 0; | 29 virtual void willExecuteScript(int scriptId) = 0; |
| 30 virtual void didExecuteScript() = 0; | 30 virtual void didExecuteScript() = 0; |
| 31 | 31 |
| 32 virtual bool isPaused() = 0; | 32 virtual bool isPaused() = 0; |
| 33 virtual bool enabled() = 0; | 33 virtual bool enabled() = 0; |
| 34 virtual V8Debugger& debugger() = 0; | 34 virtual V8Debugger& debugger() = 0; |
| 35 | 35 |
| 36 // Async call stacks implementation | 36 // Async call stacks implementation. |
| 37 static const int unknownAsyncOperationId; | 37 virtual void asyncTaskScheduled(const String16& taskName, void* task, bool r
ecurring) = 0; |
| 38 virtual int traceAsyncOperationStarting(const String16& description) = 0; | 38 virtual void asyncTaskCanceled(void* task) = 0; |
| 39 virtual void traceAsyncCallbackStarting(int operationId) = 0; | 39 virtual void asyncTaskStarted(void* task) = 0; |
| 40 virtual void traceAsyncCallbackCompleted() = 0; | 40 virtual void asyncTaskFinished(void* task) = 0; |
| 41 virtual void traceAsyncOperationCompleted(int operationId) = 0; | 41 virtual void allAsyncTasksCanceled() = 0; |
| 42 virtual bool trackingAsyncCalls() const = 0; | |
| 43 }; | 42 }; |
| 44 | 43 |
| 45 } // namespace blink | 44 } // namespace blink |
| 46 | 45 |
| 47 | 46 |
| 48 #endif // V8DebuggerAgent_h | 47 #endif // V8DebuggerAgent_h |
| OLD | NEW |