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

Unified Diff: third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.cpp

Issue 1999613002: Move WebCacheMemoryDumpProvider to platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix link error on win Created 4 years, 7 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
Index: third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.cpp
diff --git a/third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.cpp b/third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.cpp
deleted file mode 100644
index 0d7b773dd142a254c6faa001b6c4e7993b69c836..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "core/fetch/WebCacheMemoryDumpProvider.h"
-
-#include "core/fetch/MemoryCache.h"
-#include "public/platform/WebMemoryAllocatorDump.h"
-#include "public/platform/WebProcessMemoryDump.h"
-
-namespace blink {
-
-WebCacheMemoryDumpProvider* WebCacheMemoryDumpProvider::instance()
-{
- DEFINE_STATIC_LOCAL(WebCacheMemoryDumpProvider, instance, ());
- return &instance;
-}
-
-bool WebCacheMemoryDumpProvider::onMemoryDump(WebMemoryDumpLevelOfDetail levelOfDetail, WebProcessMemoryDump* memoryDump)
-{
- ASSERT(isMainThread());
- if (m_memoryCache)
- m_memoryCache->onMemoryDump(levelOfDetail, memoryDump);
- return true;
-}
-
-WebCacheMemoryDumpProvider::WebCacheMemoryDumpProvider()
-{
-}
-
-WebCacheMemoryDumpProvider::~WebCacheMemoryDumpProvider()
-{
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698