OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "core/inspector/InspectorDebuggerAgent.h" | 31 #include "core/inspector/InspectorDebuggerAgent.h" |
32 #include "core/inspector/JavaScriptCallFrame.h" | 32 #include "core/inspector/JavaScriptCallFrame.h" |
33 | 33 |
34 #include "InspectorFrontend.h" | |
35 #include "bindings/v8/ScriptDebugServer.h" | 34 #include "bindings/v8/ScriptDebugServer.h" |
36 #include "bindings/v8/ScriptObject.h" | 35 #include "bindings/v8/ScriptObject.h" |
37 #include "bindings/v8/ScriptSourceCode.h" | 36 #include "bindings/v8/ScriptSourceCode.h" |
38 #include "core/fetch/Resource.h" | 37 #include "core/fetch/Resource.h" |
39 #include "core/inspector/ContentSearchUtils.h" | 38 #include "core/inspector/ContentSearchUtils.h" |
40 #include "core/inspector/InjectedScript.h" | |
41 #include "core/inspector/InjectedScriptManager.h" | 39 #include "core/inspector/InjectedScriptManager.h" |
42 #include "core/inspector/InspectorPageAgent.h" | 40 #include "core/inspector/InspectorPageAgent.h" |
43 #include "core/inspector/InspectorState.h" | 41 #include "core/inspector/InspectorState.h" |
44 #include "core/inspector/InstrumentingAgents.h" | 42 #include "core/inspector/InstrumentingAgents.h" |
45 #include "core/inspector/ScriptArguments.h" | 43 #include "core/inspector/ScriptArguments.h" |
46 #include "core/inspector/ScriptCallStack.h" | 44 #include "core/inspector/ScriptCallStack.h" |
47 #include "core/platform/text/RegularExpression.h" | 45 #include "core/platform/text/RegularExpression.h" |
48 #include "platform/JSONValues.h" | 46 #include "platform/JSONValues.h" |
49 #include "wtf/text/WTFString.h" | 47 #include "wtf/text/WTFString.h" |
50 | 48 |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 void InspectorDebuggerAgent::reset() | 1082 void InspectorDebuggerAgent::reset() |
1085 { | 1083 { |
1086 m_scripts.clear(); | 1084 m_scripts.clear(); |
1087 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1085 m_breakpointIdToDebugServerBreakpointIds.clear(); |
1088 if (m_frontend) | 1086 if (m_frontend) |
1089 m_frontend->globalObjectCleared(); | 1087 m_frontend->globalObjectCleared(); |
1090 } | 1088 } |
1091 | 1089 |
1092 } // namespace WebCore | 1090 } // namespace WebCore |
1093 | 1091 |
OLD | NEW |