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

Unified Diff: base/memory/discardable_memory_shmem.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
« no previous file with comments | « no previous file | base/memory/discardable_memory_shmem.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/discardable_memory_shmem.h
diff --git a/base/memory/discardable_memory_shmem.h b/base/memory/discardable_memory_shmem.h
index c2ab27849f290fbdfffe163f020418f376e4b8c0..b04c9b1ea6ebe70fb79af1f4f01be675749cc6f7 100644
--- a/base/memory/discardable_memory_shmem.h
+++ b/base/memory/discardable_memory_shmem.h
@@ -10,7 +10,7 @@
#include "base/memory/discardable_memory_manager.h"
namespace base {
-class DiscardableSharedMemory;
+class DiscardableMemoryShmemChunk;
namespace internal {
@@ -40,7 +40,7 @@ class DiscardableMemoryShmem
private:
const size_t bytes_;
- scoped_ptr<DiscardableSharedMemory> shared_memory_;
+ scoped_ptr<DiscardableMemoryShmemChunk> chunk_;
bool is_locked_;
DISALLOW_COPY_AND_ASSIGN(DiscardableMemoryShmem);
« no previous file with comments | « no previous file | base/memory/discardable_memory_shmem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698