Index: content/browser/memory/memory_coordinator_impl.h |
diff --git a/content/browser/memory/memory_coordinator_impl.h b/content/browser/memory/memory_coordinator_impl.h |
index 3f119f65958c79bd03f249c8908b208c097e20ff..f9792a8c67a7acca64f85fd57f6e6942d2f44f00 100644 |
--- a/content/browser/memory/memory_coordinator_impl.h |
+++ b/content/browser/memory/memory_coordinator_impl.h |
@@ -51,6 +51,7 @@ class CONTENT_EXPORT MemoryCoordinatorImpl : public MemoryCoordinator, |
MemoryMonitor* memory_monitor() { return memory_monitor_.get(); } |
base::MemoryState GetCurrentMemoryState() const override; |
+ void SetCurrentMemoryStateForTesting(base::MemoryState memory_state) override; |
// NotificationObserver implementation: |
void Observe(int type, |
@@ -60,6 +61,7 @@ class CONTENT_EXPORT MemoryCoordinatorImpl : public MemoryCoordinator, |
private: |
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorImplTest, CalculateNextState); |
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorImplTest, UpdateState); |
+ FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorImplTest, SetMemoryStateForTesting); |
friend struct MemoryCoordinatorSingletonTraits; |