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

Unified Diff: content/browser/memory/memory_coordinator_impl.h

Issue 2412413002: WIP: Add MemoryCoordinator::GetCurrentMemoryState (Closed)
Patch Set: Change the base Created 4 years, 2 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
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 a0ba1315ee64b40b856deae7505a91b649b8d9fa..12d81e049578579b0e07ee7f658642d756b52dd9 100644
--- a/content/browser/memory/memory_coordinator_impl.h
+++ b/content/browser/memory/memory_coordinator_impl.h
@@ -47,6 +47,8 @@ class CONTENT_EXPORT MemoryCoordinatorImpl : public MemoryCoordinator,
MemoryMonitor* memory_monitor() { return memory_monitor_.get(); }
+ base::MemoryState GetCurrentState() const override;
+
private:
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorImplTest, CalculateNextState);
FRIEND_TEST_ALL_PREFIXES(MemoryCoordinatorImplTest, UpdateState);

Powered by Google App Engine
This is Rietveld 408576698