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

Unified Diff: third_party/WebKit/Source/platform/SharedBuffer.h

Issue 1369253002: Add Web Resources usage to chrome://tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web_cache2_base
Patch Set: Fix names. Created 5 years, 2 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/platform/SharedBuffer.h
diff --git a/third_party/WebKit/Source/platform/SharedBuffer.h b/third_party/WebKit/Source/platform/SharedBuffer.h
index 94a6946a345cf9d1a370bb68cea9f438cb8bc9f0..56afb23204585ae47778f18f5487aaec9ad911a6 100644
--- a/third_party/WebKit/Source/platform/SharedBuffer.h
+++ b/third_party/WebKit/Source/platform/SharedBuffer.h
@@ -37,6 +37,8 @@
namespace blink {
+class WebProcessMemoryDump;
+
class PLATFORM_EXPORT SharedBuffer : public RefCounted<SharedBuffer> {
public:
enum : unsigned { kSegmentSize = 0x1000 };
@@ -102,6 +104,8 @@ public:
bool isLocked() const;
+ void onMemoryDump(const String& dumpPrefix, WebProcessMemoryDump*) const;
+
private:
SharedBuffer();
explicit SharedBuffer(size_t);
« no previous file with comments | « third_party/WebKit/Source/platform/PurgeableVector.cpp ('k') | third_party/WebKit/Source/platform/SharedBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698