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

Unified Diff: Source/bindings/v8/ScriptDebugServer.h

Issue 466243002: Support merged Dart-JS callstacks (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: ptal Created 6 years, 3 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: Source/bindings/v8/ScriptDebugServer.h
diff --git a/Source/bindings/v8/ScriptDebugServer.h b/Source/bindings/v8/ScriptDebugServer.h
index a0fe24b420680dc855e1a2edb3d9c9b67d23778e..1c973e18c5196fc571128111d6e081a635e9dcb2 100644
--- a/Source/bindings/v8/ScriptDebugServer.h
+++ b/Source/bindings/v8/ScriptDebugServer.h
@@ -52,7 +52,7 @@ class ScriptController;
class ScriptDebugListener;
class ScriptSourceCode;
class ScriptValue;
-class StackTrace;
+class StackTraces;
class ActivationFrame;
class JavaScriptCallFrame;
@@ -80,13 +80,13 @@ public:
virtual void stepOverStatement() = 0;
virtual void stepOutOfFunction() = 0;
- virtual bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, StackTrace* newCallFrames, RefPtr<JSONObject>* result) = 0;
+ virtual bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, StackTraces* newCallFrames, RefPtr<JSONObject>* result) = 0;
virtual ScriptCallFrame topCallFrameNoScopes() = 0;
virtual int frameCount() = 0;
- virtual StackTrace currentCallFrames() = 0;
- virtual StackTrace currentCallFramesForAsyncStack() = 0;
+ virtual StackTraces currentCallFrames() = 0;
+ virtual StackTraces currentCallFramesForAsyncStack() = 0;
virtual bool isPaused() = 0;
bool isAnyScriptPaused() { return isPaused() || (m_peer && m_peer->isPaused()); }
@@ -128,11 +128,11 @@ public:
virtual PauseOnExceptionsState pauseOnExceptionsState();
virtual void setPauseOnExceptionsState(PauseOnExceptionsState);
- virtual bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, StackTrace* newCallFrames, RefPtr<JSONObject>* result);
+ virtual bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, StackTraces* newCallFrames, RefPtr<JSONObject>* result);
virtual ScriptCallFrame topCallFrameNoScopes();
virtual int frameCount();
- virtual StackTrace currentCallFrames();
- virtual StackTrace currentCallFramesForAsyncStack();
+ virtual StackTraces currentCallFrames();
+ virtual StackTraces currentCallFramesForAsyncStack();
class Task {
public:
@@ -190,7 +190,7 @@ private:
NoScopes // Should be the last option.
};
- StackTrace currentCallFramesInner(ScopeInfoDetails);
+ StackTraces currentCallFramesInner(ScopeInfoDetails);
PassRefPtrWillBeRawPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDetails);

Powered by Google App Engine
This is Rietveld 408576698