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

Unified Diff: Source/core/platform/network/ResourceResponse.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/platform/network/ResourceResponse.h ('k') | Source/core/rendering/InlineBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/network/ResourceResponse.cpp
diff --git a/Source/core/platform/network/ResourceResponse.cpp b/Source/core/platform/network/ResourceResponse.cpp
index 61e0359d4571cdef01f833a1ed4a45d2a1efeea6..37b72f6cfbc4b9e7cc57e8ad44ae4d161fd7fc24 100644
--- a/Source/core/platform/network/ResourceResponse.cpp
+++ b/Source/core/platform/network/ResourceResponse.cpp
@@ -28,11 +28,9 @@
#include "ResourceResponse.h"
#include "HTTPParsers.h"
-#include "PlatformMemoryInstrumentation.h"
#include "ResourceResponse.h"
#include <wtf/CurrentTime.h>
#include <wtf/MathExtras.h>
-#include <wtf/MemoryInstrumentationHashMap.h>
#include <wtf/StdLibExtras.h>
namespace WebCore {
@@ -541,19 +539,6 @@ void ResourceResponse::setResourceLoadInfo(PassRefPtr<ResourceLoadInfo> loadInfo
m_resourceLoadInfo = loadInfo;
}
-void ResourceResponse::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Loader);
- info.addMember(m_url, "url");
- info.addMember(m_mimeType, "mimeType");
- info.addMember(m_textEncodingName, "textEncodingName");
- info.addMember(m_suggestedFilename, "suggestedFilename");
- info.addMember(m_httpStatusText, "httpStatusText");
- info.addMember(m_httpHeaderFields, "httpHeaderFields");
- info.addMember(m_resourceLoadTiming, "resourceLoadTiming");
- info.addMember(m_resourceLoadInfo, "resourceLoadInfo");
-}
-
bool ResourceResponse::compare(const ResourceResponse& a, const ResourceResponse& b)
{
if (a.isNull() != b.isNull())
« no previous file with comments | « Source/core/platform/network/ResourceResponse.h ('k') | Source/core/rendering/InlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698