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

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

Issue 1180713005: DevTools: speculative fix of crash in PageDebuggerAgent::restore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/core/inspector/PageDebuggerAgent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 MonitorCommandBreakpointSource 79 MonitorCommandBreakpointSource
80 }; 80 };
81 81
82 static const char backtraceObjectGroup[]; 82 static const char backtraceObjectGroup[];
83 83
84 ~InspectorDebuggerAgent() override; 84 ~InspectorDebuggerAgent() override;
85 DECLARE_VIRTUAL_TRACE(); 85 DECLARE_VIRTUAL_TRACE();
86 86
87 void canSetScriptSource(ErrorString*, bool* result) final { *result = true; } 87 void canSetScriptSource(ErrorString*, bool* result) final { *result = true; }
88 88
89 void init() override final; 89 void init() final;
90 void restore() override final; 90 void restore() override;
91 void disable(ErrorString*) override final; 91 void disable(ErrorString*) final;
92 92
93 bool isPaused(); 93 bool isPaused();
94 void addMessageToConsole(ConsoleMessage*); 94 void addMessageToConsole(ConsoleMessage*);
95 95
96 // Part of the protocol. 96 // Part of the protocol.
97 void enable(ErrorString*) override; 97 void enable(ErrorString*) override;
98 void setBreakpointsActive(ErrorString*, bool active) final; 98 void setBreakpointsActive(ErrorString*, bool active) final;
99 void setSkipAllPauses(ErrorString*, bool skipped) final; 99 void setSkipAllPauses(ErrorString*, bool skipped) final;
100 100
101 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; 101 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;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 bool m_pendingTraceAsyncOperationCompleted; 307 bool m_pendingTraceAsyncOperationCompleted;
308 bool m_startingStepIntoAsync; 308 bool m_startingStepIntoAsync;
309 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT rackingListeners; 309 WillBeHeapVector<RawPtrWillBeMember<AsyncCallTrackingListener>> m_asyncCallT rackingListeners;
310 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts; 310 V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts;
311 }; 311 };
312 312
313 } // namespace blink 313 } // namespace blink
314 314
315 315
316 #endif // InspectorDebuggerAgent_h 316 #endif // InspectorDebuggerAgent_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/PageDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698