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

Unified Diff: third_party/WebKit/public/platform/WebProcessMemoryDump.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
« no previous file with comments | « third_party/WebKit/Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebProcessMemoryDump.h
diff --git a/third_party/WebKit/public/platform/WebProcessMemoryDump.h b/third_party/WebKit/public/platform/WebProcessMemoryDump.h
index 27c6e1abbcc4b6aebd74c29d48021748a3a85b1c..cbe3bd8e980083de8f89eb8f979dbcc82dbd2181 100644
--- a/third_party/WebKit/public/platform/WebProcessMemoryDump.h
+++ b/third_party/WebKit/public/platform/WebProcessMemoryDump.h
@@ -8,6 +8,7 @@
#include "WebCommon.h"
#include "WebMemoryAllocatorDump.h"
#include "WebString.h"
+#include "third_party/skia/include/core/SkTraceMemoryDump.h"
namespace blink {
@@ -77,6 +78,18 @@ public:
{
BLINK_ASSERT_NOT_REACHED();
}
+
+ // Returns the SkTraceMemoryDump object for the skia context. This is
+ // useful when dumping stats about skia objects used. The created dumper
+ // is owned by WebProcessMemoryDump. |dumpNamePrefix| is prefix appended
+ // to each dump created by the SkTraceMemoryDump implementation, if the
+ // dump should be placed under different category
+ // and not "skia".
+ virtual SkTraceMemoryDump* CreateSkiaTraceMemoryDump(const WebString& dumpNamePrefix)
+ {
+ BLINK_ASSERT_NOT_REACHED();
+ return nullptr;
+ }
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698