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

Unified Diff: Source/core/inspector/V8Debugger.h

Issue 1217773007: [DevTools] Replace reportCompiledScripts with explicit [get]compiledScripts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: getCompiledScripts Created 5 years, 5 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
« no previous file with comments | « Source/core/inspector/ScriptDebugListener.h ('k') | Source/core/inspector/V8Debugger.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/V8Debugger.h
diff --git a/Source/core/inspector/V8Debugger.h b/Source/core/inspector/V8Debugger.h
index 2872ae63e9dc7bbb4fff24fa1505db6469e6db67..3f3aaaf6364acc4f3e0e5c36d0c2764ae2bb455b 100644
--- a/Source/core/inspector/V8Debugger.h
+++ b/Source/core/inspector/V8Debugger.h
@@ -78,7 +78,7 @@ public:
// Each script inherits debug data from v8::Context where it has been compiled.
// Only scripts whose debug data contains |contextDebugDataSubstring| substring will be reported.
// Passing empty string will result in reporting all scripts.
- void reportCompiledScripts(const String& contextDebugDataSubstring, ScriptDebugListener*);
+ void getCompiledScripts(const String& contextDebugDataSubstring, Vector<ScriptDebugListener::ParsedScript>&);
String setBreakpoint(const String& sourceID, const ScriptBreakpoint&, int* actualLineNumber, int* actualColumnNumber, bool interstatementLocation);
void removeBreakpoint(const String& breakpointId);
@@ -128,7 +128,7 @@ private:
v8::Local<v8::Context> debuggerContext() const;
void clearBreakpoints();
- void dispatchDidParseSource(ScriptDebugListener*, v8::Local<v8::Object> sourceObject, CompileResult);
+ ScriptDebugListener::ParsedScript createParsedScript(v8::Local<v8::Object> sourceObject, CompileResult);
static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&);
void handleProgramBreak(ScriptState* pausedScriptState, v8::Local<v8::Object> executionState, v8::Local<v8::Value> exception, v8::Local<v8::Array> hitBreakpoints, bool isPromiseRejection = false);
« no previous file with comments | « Source/core/inspector/ScriptDebugListener.h ('k') | Source/core/inspector/V8Debugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698