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

Unified Diff: Source/core/inspector/ScriptDebugListener.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/MainThreadDebugger.cpp ('k') | Source/core/inspector/V8Debugger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/ScriptDebugListener.h
diff --git a/Source/core/inspector/ScriptDebugListener.h b/Source/core/inspector/ScriptDebugListener.h
index 46c6b5d5ac61ed5cb632a7c41043c6218d09d8d6..b3a9e933550a1e55e469a45702cc3fc2125d2f60 100644
--- a/Source/core/inspector/ScriptDebugListener.h
+++ b/Source/core/inspector/ScriptDebugListener.h
@@ -99,9 +99,15 @@ public:
StepFrame
};
+ struct ParsedScript {
+ String scriptId;
+ Script script;
+ CompileResult compileResult;
+ };
+
virtual ~ScriptDebugListener() { }
- virtual void didParseSource(const String& scriptId, const Script&, CompileResult) = 0;
+ virtual void didParseSource(const ParsedScript&) = 0;
virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrames, const ScriptValue& exception, const Vector<String>& hitBreakpoints, bool isPromiseRejection) = 0;
virtual void didContinue() = 0;
virtual bool v8AsyncTaskEventsEnabled() const = 0;
« no previous file with comments | « Source/core/inspector/MainThreadDebugger.cpp ('k') | Source/core/inspector/V8Debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698