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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8InspectorSession.h

Issue 1924913002: [DevTools] Move API methods from V8DebuggerAgent to V8InspectorSession. (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/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;

Powered by Google App Engine
This is Rietveld 408576698