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>; |