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

Unified Diff: components/memory_coordinator/common/memory_coordinator_client.h

Issue 2261073002: Make HistoryBackend a client of memory coordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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: components/memory_coordinator/common/memory_coordinator_client.h
diff --git a/components/memory_coordinator/common/memory_coordinator_client.h b/components/memory_coordinator/common/memory_coordinator_client.h
index 44a04ad593d3704c1bab9c4e9a1572cac90f4134..269d72f59459f549f15ea21917c50d545ac438b2 100644
--- a/components/memory_coordinator/common/memory_coordinator_client.h
+++ b/components/memory_coordinator/common/memory_coordinator_client.h
@@ -9,6 +9,8 @@
namespace memory_coordinator {
+using MemoryState = mojom::MemoryState;
+
// This is an interface for components which can respond to memory status
// changes.
class MemoryCoordinatorClient {
@@ -16,7 +18,7 @@ class MemoryCoordinatorClient {
virtual ~MemoryCoordinatorClient() {}
// Called when memory state has changed.
- virtual void OnMemoryStateChange(mojom::MemoryState state) = 0;
+ virtual void OnMemoryStateChange(MemoryState state) = 0;
};
} // namespace memory_coordinator
« no previous file with comments | « components/memory_coordinator/browser/memory_coordinator_unittest.cc ('k') | content/browser/browser_main_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698