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

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

Issue 272613002: DevTools: implemented scriptFailedToParse protocol event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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/InspectorDebuggerAgent.cpp ('k') | Source/devtools/Inspector-1.1.json » ('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 1aac99d7cddfc26d671f0d9536f18c7bb47451b0..24a9689c799c5e1ddd6e1ca6cfdfd91d05b70d3d 100644
--- a/Source/core/inspector/ScriptDebugListener.h
+++ b/Source/core/inspector/ScriptDebugListener.h
@@ -41,6 +41,8 @@ namespace WebCore {
class ExecutionContext;
class ScriptValue;
+enum CompileResult { CompileSuccess, CompileError };
+
class ScriptDebugListener {
public:
class Script {
@@ -73,8 +75,7 @@ public:
virtual ~ScriptDebugListener() { }
- virtual void didParseSource(const String& scriptId, const Script&) = 0;
- virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) = 0;
+ virtual void didParseSource(const String& scriptId, const Script&, CompileResult) = 0;
virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrames, const ScriptValue& exception, const Vector<String>& hitBreakpoints) = 0;
virtual void didContinue() = 0;
virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eventType, const String& eventName, int id) = 0;
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | Source/devtools/Inspector-1.1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698