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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 1249013002: DevTools: simplify setScriptSource and restartFrame return values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void setBreakpointsActive(ErrorString*, bool active) final; 95 void setBreakpointsActive(ErrorString*, bool active) final;
96 void setSkipAllPauses(ErrorString*, bool skipped) final; 96 void setSkipAllPauses(ErrorString*, bool skipped) final;
97 97
98 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optional URL, const String* optionalURLRegex, const int* optionalColumnNumber, const Stri ng* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder: :Array<TypeBuilder::Debugger::Location> >& locations) final; 98 void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optional URL, const String* optionalURLRegex, const int* optionalColumnNumber, const Stri ng* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder: :Array<TypeBuilder::Debugger::Location> >& locations) final;
99 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild er::Debugger::Location>& actualLocation) final; 99 void setBreakpoint(ErrorString*, const RefPtr<JSONObject>& location, const S tring* optionalCondition, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuild er::Debugger::Location>& actualLocation) final;
100 void removeBreakpoint(ErrorString*, const String& breakpointId) final; 100 void removeBreakpoint(ErrorString*, const String& breakpointId) final;
101 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co nst bool* interstateLocationOpt) final; 101 void continueToLocation(ErrorString*, const RefPtr<JSONObject>& location, co nst bool* interstateLocationOpt) final;
102 void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<Type Builder::Array<TypeBuilder::Debugger::Location> >& positions) final; 102 void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<Type Builder::Array<TypeBuilder::Debugger::Location> >& positions) final;
103 void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debug ger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) final; 103 void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debug ger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) final;
104 void searchInContent(ErrorString*, const String& scriptId, const String& que ry, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::SearchMatch>>&) final; 104 void searchInContent(ErrorString*, const String& scriptId, const String& que ry, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::SearchMatch>>&) final;
105 void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::SetScriptSo urceError>&, const String& scriptId, const String& newContent, const bool* previ ew, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames , RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncSt ackTrace) final; 105 void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::SetScriptSo urceError>&, const String& scriptId, const String& newContent, const bool* previ ew, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>>& newCallFrames, TypeBuilder::OptOutput<bool>* stackChanged, RefPtr<TypeBuilder::Debugger::Stack Trace>& asyncStackTrace) final;
106 void restartFrame(ErrorString*, const String& callFrameId, RefPtr<TypeBuilde r::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace) final; 106 void restartFrame(ErrorString*, const String& callFrameId, RefPtr<TypeBuilde r::Array<TypeBuilder::Debugger::CallFrame>>& newCallFrames, RefPtr<TypeBuilder:: Debugger::StackTrace>& asyncStackTrace) final;
107 void getScriptSource(ErrorString*, const String& scriptId, String* scriptSou rce) final; 107 void getScriptSource(ErrorString*, const String& scriptId, String* scriptSou rce) final;
108 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB uilder::Debugger::FunctionDetails>&) final; 108 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB uilder::Debugger::FunctionDetails>&) final;
109 void getGeneratorObjectDetails(ErrorString*, const String& objectId, RefPtr< TypeBuilder::Debugger::GeneratorObjectDetails>&) final; 109 void getGeneratorObjectDetails(ErrorString*, const String& objectId, RefPtr< TypeBuilder::Debugger::GeneratorObjectDetails>&) final;
110 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::CollectionEntry> >&) final; 110 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::CollectionEntry> >&) final;
111 void pause(ErrorString*) final; 111 void pause(ErrorString*) final;
112 void resume(ErrorString*) final; 112 void resume(ErrorString*) final;
113 void stepOver(ErrorString*) final; 113 void stepOver(ErrorString*) final;
114 void stepInto(ErrorString*) final; 114 void stepInto(ErrorString*) final;
115 void stepOut(ErrorString*) final; 115 void stepOut(ErrorString*) final;
116 void stepIntoAsync(ErrorString*) final; 116 void stepIntoAsync(ErrorString*) final;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 int m_currentAsyncOperationId; 308 int m_currentAsyncOperationId;
309 bool m_pendingTraceAsyncOperationCompleted; 309 bool m_pendingTraceAsyncOperationCompleted;
310 bool m_startingStepIntoAsync; 310 bool m_startingStepIntoAsync;
311 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts; 311 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts;
312 }; 312 };
313 313
314 } // namespace blink 314 } // namespace blink
315 315
316 316
317 #endif // InspectorDebuggerAgent_h 317 #endif // InspectorDebuggerAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698