| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "core/inspector/InspectorMemoryAgent.h" | 32 #include "core/inspector/InspectorMemoryAgent.h" |
| 33 | 33 |
| 34 #include "InspectorFrontend.h" | 34 #include "InspectorFrontend.h" |
| 35 #include "bindings/v8/ScriptGCEvent.h" | 35 #include "bindings/v8/ScriptGCEvent.h" |
| 36 #include "bindings/v8/ScriptProfiler.h" | 36 #include "bindings/v8/ScriptProfiler.h" |
| 37 #include "core/dom/CharacterData.h" | |
| 38 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
| 39 #include "core/dom/EventListenerMap.h" | |
| 40 #include "core/dom/Node.h" | 38 #include "core/dom/Node.h" |
| 41 #include "core/dom/NodeTraversal.h" | |
| 42 #include "core/dom/StyledElement.h" | |
| 43 #include "core/inspector/BindingVisitors.h" | 39 #include "core/inspector/BindingVisitors.h" |
| 44 #include "core/inspector/HeapGraphSerializer.h" | 40 #include "core/inspector/HeapGraphSerializer.h" |
| 45 #include "core/inspector/InspectorClient.h" | 41 #include "core/inspector/InspectorClient.h" |
| 46 #include "core/inspector/InspectorDOMStorageAgent.h" | 42 #include "core/inspector/InspectorDOMStorageAgent.h" |
| 47 #include "core/inspector/InspectorState.h" | |
| 48 #include "core/inspector/InspectorValues.h" | 43 #include "core/inspector/InspectorValues.h" |
| 49 #include "core/inspector/InstrumentingAgents.h" | |
| 50 #include "core/inspector/MemoryInstrumentationImpl.h" | 44 #include "core/inspector/MemoryInstrumentationImpl.h" |
| 51 #include "core/loader/cache/MemoryCache.h" | 45 #include "core/loader/cache/MemoryCache.h" |
| 52 #include "core/page/Frame.h" | 46 #include "core/page/Frame.h" |
| 53 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
| 54 #include "core/platform/MemoryUsageSupport.h" | 48 #include "core/platform/MemoryUsageSupport.h" |
| 55 #include <wtf/ArrayBufferView.h> | 49 #include <wtf/ArrayBufferView.h> |
| 56 #include <wtf/HashSet.h> | 50 #include <wtf/HashSet.h> |
| 57 #include <wtf/MemoryInstrumentationArrayBufferView.h> | 51 #include <wtf/MemoryInstrumentationArrayBufferView.h> |
| 58 #include <wtf/NonCopyingSort.h> | 52 #include <wtf/NonCopyingSort.h> |
| 59 #include <wtf/OwnPtr.h> | 53 #include <wtf/OwnPtr.h> |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 m_frontend = frontend->memory(); | 393 m_frontend = frontend->memory(); |
| 400 } | 394 } |
| 401 | 395 |
| 402 void InspectorMemoryAgent::clearFrontend() | 396 void InspectorMemoryAgent::clearFrontend() |
| 403 { | 397 { |
| 404 m_frontend = 0; | 398 m_frontend = 0; |
| 405 } | 399 } |
| 406 | 400 |
| 407 } // namespace WebCore | 401 } // namespace WebCore |
| 408 | 402 |
| OLD | NEW |