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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (rebase) Created 3 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
« no previous file with comments | « services/ui/public/cpp/bitmap/child_shared_bitmap_manager.cc ('k') | ui/gfx/gpu_memory_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index 6d23c84ddc76074fc8bd5f13af1460e6b3c70531..28a5dc96a56ddeba0b560b11f4492077d171c2e1 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -102,6 +102,8 @@ class GFX_EXPORT GpuMemoryBuffer {
// Returns the GUID for tracing.
virtual base::trace_event::MemoryAllocatorDumpGuid GetGUIDForTracing(
uint64_t tracing_process_id) const;
+
+ virtual base::SharedMemory* GetSharedMemory();
};
// Returns an instance of |handle| which can be sent over IPC. This duplicates
« no previous file with comments | « services/ui/public/cpp/bitmap/child_shared_bitmap_manager.cc ('k') | ui/gfx/gpu_memory_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698