Index: third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h |
index 88fcab1c076ef46250661ac8ce9e02348eeec582..c3fb2df53bd35517d02c0a6fcc0413abfc4ff49d 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h |
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h |
@@ -18,10 +18,25 @@ class V8RuntimeAgent; |
class PLATFORM_EXPORT V8InspectorSession { |
public: |
+ static const char backtraceObjectGroup[]; |
virtual ~V8InspectorSession() { } |
virtual void setClient(V8InspectorSessionClient*) = 0; |
+ // API for the embedder to report native activities. |
+ virtual void schedulePauseOnNextStatement(const String16& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0; |
+ virtual void cancelPauseOnNextStatement() = 0; |
+ virtual void breakProgram(const String16& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0; |
+ virtual void breakProgramOnException(const String16& breakReason, PassOwnPtr<protocol::DictionaryValue> data) = 0; |
+ virtual void setSkipAllPauses(bool) = 0; |
+ |
+ // Async call stacks implementation. |
+ virtual void asyncTaskScheduled(const String16& taskName, void* task, bool recurring) = 0; |
+ virtual void asyncTaskCanceled(void* task) = 0; |
+ virtual void asyncTaskStarted(void* task) = 0; |
+ virtual void asyncTaskFinished(void* task) = 0; |
+ virtual void allAsyncTasksCanceled() = 0; |
+ |
virtual V8DebuggerAgent* debuggerAgent() = 0; |
virtual V8HeapProfilerAgent* heapProfilerAgent() = 0; |
virtual V8ProfilerAgent* profilerAgent() = 0; |