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 14 matching lines...) Expand all Loading... |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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 "InspectorMemoryAgent.h" | 32 #include "InspectorMemoryAgent.h" |
33 | 33 |
34 #include "BindingVisitors.h" | 34 #include "BindingVisitors.h" |
35 #include "CharacterData.h" | |
36 #include "Document.h" | |
37 #include "EventListenerMap.h" | |
38 #include "HeapGraphSerializer.h" | 35 #include "HeapGraphSerializer.h" |
39 #include "InspectorClient.h" | 36 #include "InspectorClient.h" |
40 #include "InspectorDOMStorageAgent.h" | 37 #include "InspectorDOMStorageAgent.h" |
41 #include "InspectorFrontend.h" | 38 #include "InspectorFrontend.h" |
42 #include "InspectorState.h" | 39 #include "InspectorState.h" |
43 #include "InspectorValues.h" | 40 #include "InspectorValues.h" |
44 #include "InstrumentingAgents.h" | 41 #include "InstrumentingAgents.h" |
45 #include "MemoryInstrumentationImpl.h" | 42 #include "MemoryInstrumentationImpl.h" |
46 #include "Node.h" | |
47 #include "NodeTraversal.h" | |
48 #include "ScriptGCEvent.h" | 43 #include "ScriptGCEvent.h" |
49 #include "ScriptProfiler.h" | 44 #include "ScriptProfiler.h" |
50 #include "StyledElement.h" | 45 #include "core/dom/CharacterData.h" |
| 46 #include "core/dom/Document.h" |
| 47 #include "core/dom/EventListenerMap.h" |
| 48 #include "core/dom/Node.h" |
| 49 #include "core/dom/NodeTraversal.h" |
| 50 #include "core/dom/StyledElement.h" |
51 #include "core/loader/cache/MemoryCache.h" | 51 #include "core/loader/cache/MemoryCache.h" |
52 #include "core/page/Frame.h" | 52 #include "core/page/Frame.h" |
53 #include "core/page/Page.h" | 53 #include "core/page/Page.h" |
54 #include "core/platform/MemoryUsageSupport.h" | 54 #include "core/platform/MemoryUsageSupport.h" |
55 #include <wtf/ArrayBufferView.h> | 55 #include <wtf/ArrayBufferView.h> |
56 #include <wtf/HashSet.h> | 56 #include <wtf/HashSet.h> |
57 #include <wtf/MemoryInstrumentationArrayBufferView.h> | 57 #include <wtf/MemoryInstrumentationArrayBufferView.h> |
58 #include <wtf/NonCopyingSort.h> | 58 #include <wtf/NonCopyingSort.h> |
59 #include <wtf/OwnPtr.h> | 59 #include <wtf/OwnPtr.h> |
60 #include <wtf/PassOwnPtr.h> | 60 #include <wtf/PassOwnPtr.h> |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 m_frontend = frontend->memory(); | 399 m_frontend = frontend->memory(); |
400 } | 400 } |
401 | 401 |
402 void InspectorMemoryAgent::clearFrontend() | 402 void InspectorMemoryAgent::clearFrontend() |
403 { | 403 { |
404 m_frontend = 0; | 404 m_frontend = 0; |
405 } | 405 } |
406 | 406 |
407 } // namespace WebCore | 407 } // namespace WebCore |
408 | 408 |
OLD | NEW |