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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #include "InspectorProfilerAgent.h" | 61 #include "InspectorProfilerAgent.h" |
62 #include "InspectorResourceAgent.h" | 62 #include "InspectorResourceAgent.h" |
63 #include "InspectorState.h" | 63 #include "InspectorState.h" |
64 #include "InspectorTimelineAgent.h" | 64 #include "InspectorTimelineAgent.h" |
65 #include "InspectorWorkerAgent.h" | 65 #include "InspectorWorkerAgent.h" |
66 #include "InstrumentingAgents.h" | 66 #include "InstrumentingAgents.h" |
67 #include "PageConsoleAgent.h" | 67 #include "PageConsoleAgent.h" |
68 #include "PageDebuggerAgent.h" | 68 #include "PageDebuggerAgent.h" |
69 #include "PageRuntimeAgent.h" | 69 #include "PageRuntimeAgent.h" |
70 #include "ScriptObject.h" | 70 #include "ScriptObject.h" |
71 #include "WebCoreMemoryInstrumentation.h" | 71 #include "core/dom/WebCoreMemoryInstrumentation.h" |
72 #include "core/page/Frame.h" | 72 #include "core/page/Frame.h" |
73 #include "core/page/Page.h" | 73 #include "core/page/Page.h" |
74 #include "core/platform/graphics/GraphicsContext.h" | 74 #include "core/platform/graphics/GraphicsContext.h" |
75 #include <wtf/MemoryInstrumentationVector.h> | 75 #include <wtf/MemoryInstrumentationVector.h> |
76 #include <wtf/UnusedParam.h> | 76 #include <wtf/UnusedParam.h> |
77 | 77 |
78 namespace WebCore { | 78 namespace WebCore { |
79 | 79 |
80 InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
lient) | 80 InspectorController::InspectorController(Page* page, InspectorClient* inspectorC
lient) |
81 : m_instrumentingAgents(InstrumentingAgents::create()) | 81 : m_instrumentingAgents(InstrumentingAgents::create()) |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 } | 427 } |
428 | 428 |
429 HashMap<String, size_t> InspectorController::processMemoryDistribution() const | 429 HashMap<String, size_t> InspectorController::processMemoryDistribution() const |
430 { | 430 { |
431 HashMap<String, size_t> memoryInfo; | 431 HashMap<String, size_t> memoryInfo; |
432 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); | 432 m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo); |
433 return memoryInfo; | 433 return memoryInfo; |
434 } | 434 } |
435 | 435 |
436 } // namespace WebCore | 436 } // namespace WebCore |
OLD | NEW |