| 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 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 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 "InspectorDebuggerAgent.h" | 31 #include "InspectorDebuggerAgent.h" |
| 32 | 32 |
| 33 #include "CachedResource.h" | |
| 34 #include "ContentSearchUtils.h" | 33 #include "ContentSearchUtils.h" |
| 35 #include "InjectedScript.h" | 34 #include "InjectedScript.h" |
| 36 #include "InjectedScriptManager.h" | 35 #include "InjectedScriptManager.h" |
| 37 #include "InspectorFrontend.h" | 36 #include "InspectorFrontend.h" |
| 38 #include "InspectorPageAgent.h" | 37 #include "InspectorPageAgent.h" |
| 39 #include "InspectorState.h" | 38 #include "InspectorState.h" |
| 40 #include "InspectorValues.h" | 39 #include "InspectorValues.h" |
| 41 #include "InstrumentingAgents.h" | 40 #include "InstrumentingAgents.h" |
| 42 #include "ScriptDebugServer.h" | 41 #include "ScriptDebugServer.h" |
| 43 #include "ScriptObject.h" | 42 #include "ScriptObject.h" |
| 43 #include "core/loader/cache/CachedResource.h" |
| 44 #include "core/platform/text/RegularExpression.h" | 44 #include "core/platform/text/RegularExpression.h" |
| 45 #include <wtf/MemoryInstrumentationHashMap.h> | 45 #include <wtf/MemoryInstrumentationHashMap.h> |
| 46 #include <wtf/MemoryInstrumentationVector.h> | 46 #include <wtf/MemoryInstrumentationVector.h> |
| 47 #include <wtf/text/WTFString.h> | 47 #include <wtf/text/WTFString.h> |
| 48 | 48 |
| 49 using WebCore::TypeBuilder::Array; | 49 using WebCore::TypeBuilder::Array; |
| 50 using WebCore::TypeBuilder::Debugger::FunctionDetails; | 50 using WebCore::TypeBuilder::Debugger::FunctionDetails; |
| 51 using WebCore::TypeBuilder::Debugger::ScriptId; | 51 using WebCore::TypeBuilder::Debugger::ScriptId; |
| 52 using WebCore::TypeBuilder::Runtime::RemoteObject; | 52 using WebCore::TypeBuilder::Runtime::RemoteObject; |
| 53 | 53 |
| (...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 void InspectorDebuggerAgent::reset() | 771 void InspectorDebuggerAgent::reset() |
| 772 { | 772 { |
| 773 m_scripts.clear(); | 773 m_scripts.clear(); |
| 774 m_breakpointIdToDebugServerBreakpointIds.clear(); | 774 m_breakpointIdToDebugServerBreakpointIds.clear(); |
| 775 if (m_frontend) | 775 if (m_frontend) |
| 776 m_frontend->globalObjectCleared(); | 776 m_frontend->globalObjectCleared(); |
| 777 } | 777 } |
| 778 | 778 |
| 779 } // namespace WebCore | 779 } // namespace WebCore |
| 780 | 780 |
| OLD | NEW |