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

Unified Diff: content/child/child_discardable_shared_memory_manager.h

Issue 1306243003: Add support to create memory allocator dump in base::DiscardableMemory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix html_viewer. Created 5 years, 4 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: content/child/child_discardable_shared_memory_manager.h
diff --git a/content/child/child_discardable_shared_memory_manager.h b/content/child/child_discardable_shared_memory_manager.h
index 6986955f094e68193d82736466cf1b0356f78b83..4eb327d41c1d1d8e8b4a0bf5a9155c9a844aadc4 100644
--- a/content/child/child_discardable_shared_memory_manager.h
+++ b/content/child/child_discardable_shared_memory_manager.h
@@ -40,6 +40,11 @@ class CONTENT_EXPORT ChildDiscardableSharedMemoryManager
void UnlockSpan(DiscardableSharedMemoryHeap::Span* span);
void ReleaseSpan(scoped_ptr<DiscardableSharedMemoryHeap::Span> span);
+ base::trace_event::MemoryAllocatorDump* CreateMemoryAllocatorDump(
+ DiscardableSharedMemoryHeap::Span* span,
+ const char* name,
+ base::trace_event::ProcessMemoryDump* pmd) const;
+
private:
scoped_ptr<base::DiscardableSharedMemory>
AllocateLockedDiscardableSharedMemory(size_t size,
« no previous file with comments | « components/html_viewer/discardable_memory_allocator.cc ('k') | content/child/child_discardable_shared_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698