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

Unified Diff: base/memory/memory_coordinator_proxy.h

Issue 2741883004: Remove MemoryCoordinatorProxy::SetCurrentMemoryStateForTesting (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | base/memory/memory_coordinator_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/memory_coordinator_proxy.h
diff --git a/base/memory/memory_coordinator_proxy.h b/base/memory/memory_coordinator_proxy.h
index 036f126f4c62b451f886bce3a5aa3331d9237f05..2bb26c451c01c5a205ad5a1a795d60900ea263a5 100644
--- a/base/memory/memory_coordinator_proxy.h
+++ b/base/memory/memory_coordinator_proxy.h
@@ -19,7 +19,6 @@ class BASE_EXPORT MemoryCoordinator {
virtual ~MemoryCoordinator() {}
virtual MemoryState GetCurrentMemoryState() const = 0;
- virtual void SetCurrentMemoryStateForTesting(MemoryState memory_state) = 0;
};
// The proxy of MemoryCoordinator to be accessed from components that are not
@@ -36,9 +35,6 @@ class BASE_EXPORT MemoryCoordinatorProxy {
// Returns the current memory state.
MemoryState GetCurrentMemoryState() const;
- // Sets the current memory state. This function is for testing only.
- void SetCurrentMemoryStateForTesting(MemoryState memory_state);
-
private:
friend struct base::DefaultSingletonTraits<MemoryCoordinatorProxy>;
« no previous file with comments | « no previous file | base/memory/memory_coordinator_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698