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

Unified Diff: base/memory/discardable_memory_emulated.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « base/memory/discardable_memory_ashmem.cc ('k') | base/memory/discardable_memory_emulated.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/discardable_memory_emulated.h
diff --git a/base/memory/discardable_memory_emulated.h b/base/memory/discardable_memory_emulated.h
index 150c1ab5669b07de010fa68cb4bc966bbec1d998..aa01a9de34af4bf0e0ef5d0e4aa2ebf5ecb27847 100644
--- a/base/memory/discardable_memory_emulated.h
+++ b/base/memory/discardable_memory_emulated.h
@@ -26,8 +26,6 @@ class DiscardableMemoryEmulated
// unavailable in kernel space. crbug.com/400423
BASE_EXPORT static void ReduceMemoryUsageUntilWithinLimit(size_t bytes);
- static void PurgeForTesting();
-
bool Initialize();
// Overridden from DiscardableMemory:
@@ -39,7 +37,6 @@ class DiscardableMemoryEmulated
bool AllocateAndAcquireLock() override;
void ReleaseLock() override {}
void Purge() override;
- bool IsMemoryResident() const override;
private:
const size_t bytes_;
« no previous file with comments | « base/memory/discardable_memory_ashmem.cc ('k') | base/memory/discardable_memory_emulated.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698