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

Unified Diff: third_party/WebKit/Source/web/WebCacheMemoryDumpProvider.h

Issue 1327793003: Move WebCache memory dump provider to blink for sub-allocation edges. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moving branch. Created 5 years, 3 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/web/WebCacheMemoryDumpProvider.h
diff --git a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h b/third_party/WebKit/Source/web/WebCacheMemoryDumpProvider.h
similarity index 54%
copy from third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h
copy to third_party/WebKit/Source/web/WebCacheMemoryDumpProvider.h
index 2e56e9b0ab88a1755ae2f8d727eeccd738d92dc7..2fea0c5cbb96abcc2b9ff38bcd94998ddbe2b9ef 100644
--- a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h
+++ b/third_party/WebKit/Source/web/WebCacheMemoryDumpProvider.h
@@ -2,26 +2,29 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PartitionAllocMemoryDumpProvider_h
-#define PartitionAllocMemoryDumpProvider_h
+#ifndef WebCacheMemoryDumpProvider_h
+#define WebCacheMemoryDumpProvider_h
#include "public/platform/WebCommon.h"
#include "public/platform/WebMemoryDumpProvider.h"
+#include "wtf/Noncopyable.h"
namespace blink {
-class BLINK_PLATFORM_EXPORT PartitionAllocMemoryDumpProvider final : public WebMemoryDumpProvider {
+class WebCacheMemoryDumpProvider final : public WebMemoryDumpProvider {
+ WTF_MAKE_NONCOPYABLE(WebCacheMemoryDumpProvider);
+
public:
- static PartitionAllocMemoryDumpProvider* instance();
- ~PartitionAllocMemoryDumpProvider() override;
+ static void initialize();
+ ~WebCacheMemoryDumpProvider() override;
// WebMemoryDumpProvider implementation.
bool onMemoryDump(WebMemoryDumpLevelOfDetail, WebProcessMemoryDump*) override;
private:
- PartitionAllocMemoryDumpProvider();
+ WebCacheMemoryDumpProvider();
};
} // namespace blink
-#endif // PartitionAllocMemoryDumpProvider_h
+#endif // WebCacheMemoryDumpProvider_h

Powered by Google App Engine
This is Rietveld 408576698