Separate state updating code from MemoryCoordinatorImpl
We are going to merge MemoryCoordinator into MemoryCoordinatorImpl
as a part of preparations for adding an pure interface of
MemoryCoordinator in base/. Since they are not simple classes,
just merging them will create a big class which has multiple
responsibilities. Before merging them, factor out state updating
code from MemoryCoordinatorImpl.
BUG=673216
Review-Url: https://codereview.chromium.org/2568393002
Cr-Commit-Position: refs/heads/master@{#438743}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 32cec3c..1872e6aa 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -938,6 +938,8 @@
"memory/memory_monitor_win.h",
"memory/memory_pressure_controller_impl.cc",
"memory/memory_pressure_controller_impl.h",
+ "memory/memory_state_updater.cc",
+ "memory/memory_state_updater.h",
"message_port_message_filter.cc",
"message_port_message_filter.h",
"message_port_provider.cc",