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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 SkipPauseRequest shouldSkipExceptionPause(); 200 SkipPauseRequest shouldSkipExceptionPause();
201 SkipPauseRequest shouldSkipStepPause(); 201 SkipPauseRequest shouldSkipStepPause();
202 bool isTopCallFrameInFramework(); 202 bool isTopCallFrameInFramework();
203 203
204 void cancelPauseOnNextStatement(); 204 void cancelPauseOnNextStatement();
205 void addMessageToConsole(MessageSource, MessageType); 205 void addMessageToConsole(MessageSource, MessageType);
206 206
207 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal lFrames(); 207 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal lFrames();
208 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace(); 208 PassRefPtr<TypeBuilder::Debugger::StackTrace> currentAsyncStackTrace();
209 209
210 virtual void didParseSource(const String& scriptId, const Script&) OVERRIDE FINAL; 210 virtual void didParseSource(const String& scriptId, const Script&, bool hasS yntaxError) OVERRIDE FINAL;
211 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage) OVERRIDE FINAL;
212 211
213 void setPauseOnExceptionsImpl(ErrorString*, int); 212 void setPauseOnExceptionsImpl(ErrorString*, int);
214 213
215 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource) ; 214 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource) ;
216 void removeBreakpoint(const String& breakpointId); 215 void removeBreakpoint(const String& breakpointId);
217 void clear(); 216 void clear();
218 bool assertPaused(ErrorString*); 217 bool assertPaused(ErrorString*);
219 void clearBreakDetails(); 218 void clearBreakDetails();
220 219
221 String sourceMapURLForScript(const Script&); 220 String sourceMapURLForScript(const Script&);
(...skipping 24 matching lines...) Expand all
246 int m_minFrameCountForSkip; 245 int m_minFrameCountForSkip;
247 bool m_skipAllPauses; 246 bool m_skipAllPauses;
248 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp; 247 OwnPtr<ScriptRegexp> m_cachedSkipStackRegExp;
249 AsyncCallStackTracker m_asyncCallStackTracker; 248 AsyncCallStackTracker m_asyncCallStackTracker;
250 }; 249 };
251 250
252 } // namespace WebCore 251 } // namespace WebCore
253 252
254 253
255 #endif // !defined(InspectorDebuggerAgent_h) 254 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698