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

Unified Diff: content/common/host_discardable_shared_memory_manager.h

Issue 807303002: base: Add free list implementation to browser-wide discardable memory system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@discardable-shared-memory-ashmem
Patch Set: rebase Created 6 years 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/common/host_discardable_shared_memory_manager.h
diff --git a/content/common/host_discardable_shared_memory_manager.h b/content/common/host_discardable_shared_memory_manager.h
index 148c4fc3f80a36d35cad0ec1f0ebd165c79127b6..624dd2fdf164895db32e4427645d28a7b9e3f209 100644
--- a/content/common/host_discardable_shared_memory_manager.h
+++ b/content/common/host_discardable_shared_memory_manager.h
@@ -33,8 +33,8 @@ class CONTENT_EXPORT HostDiscardableSharedMemoryManager
static HostDiscardableSharedMemoryManager* current();
// Overridden from base::DiscardableMemoryShmemAllocator:
- scoped_ptr<base::DiscardableSharedMemory>
- AllocateLockedDiscardableSharedMemory(size_t size) override;
+ scoped_ptr<base::DiscardableMemoryShmemChunk> AllocateLockedDiscardableMemory(
+ size_t size) override;
// This allocates a discardable memory segment for |process_handle|.
// A valid shared memory handle is returned on success.
« no previous file with comments | « content/common/discardable_shared_memory_heap_unittest.cc ('k') | content/common/host_discardable_shared_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698