Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(962)

Unified Diff: Source/core/inspector/InspectorController.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorDOMStorageAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorController.cpp
diff --git a/Source/core/inspector/InspectorController.cpp b/Source/core/inspector/InspectorController.cpp
index 1fa5720a83f1d2c0836ba76191b0912565177060..252a9abda1c5972e969457e0aaf6d0ed50920829 100644
--- a/Source/core/inspector/InspectorController.cpp
+++ b/Source/core/inspector/InspectorController.cpp
@@ -71,8 +71,6 @@
#include "PageRuntimeAgent.h"
#include "Page.h"
#include "ScriptObject.h"
-#include "WebCoreMemoryInstrumentation.h"
-#include <wtf/MemoryInstrumentationVector.h>
#include <wtf/UnusedParam.h>
namespace WebCore {
@@ -360,31 +358,6 @@ void InspectorController::setResourcesDataSizeLimitsFromInternals(int maximumRes
m_resourceAgent->setResourcesDataSizeLimitsFromInternals(maximumResourcesContentSize, maximumSingleResourceContentSize);
}
-void InspectorController::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::InspectorController);
- info.addMember(m_inspectorAgent, "inspectorAgent");
- info.addMember(m_instrumentingAgents, "instrumentingAgents");
- info.addMember(m_injectedScriptManager, "injectedScriptManager");
- info.addMember(m_state, "state");
- info.addMember(m_overlay, "overlay");
-
- info.addMember(m_inspectorAgent, "inspectorAgent");
- info.addMember(m_domAgent, "domAgent");
- info.addMember(m_resourceAgent, "resourceAgent");
- info.addMember(m_pageAgent, "pageAgent");
- info.addMember(m_debuggerAgent, "debuggerAgent");
- info.addMember(m_domDebuggerAgent, "domDebuggerAgent");
- info.addMember(m_profilerAgent, "profilerAgent");
-
- info.addMember(m_inspectorBackendDispatcher, "inspectorBackendDispatcher");
- info.addMember(m_inspectorFrontendClient, "inspectorFrontendClient");
- info.addMember(m_inspectorFrontend, "inspectorFrontend");
- info.addMember(m_page, "page");
- info.addWeakPointer(m_inspectorClient);
- info.addMember(m_agents, "agents");
-}
-
void InspectorController::willProcessTask()
{
if (InspectorTimelineAgent* timelineAgent = m_instrumentingAgents->inspectorTimelineAgent())
@@ -426,11 +399,4 @@ void InspectorController::didComposite()
timelineAgent->didComposite();
}
-HashMap<String, size_t> InspectorController::processMemoryDistribution() const
-{
- HashMap<String, size_t> memoryInfo;
- m_memoryAgent->getProcessMemoryDistributionMap(&memoryInfo);
- return memoryInfo;
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorDOMStorageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698