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

Unified Diff: components/memory_coordinator/child/child_memory_coordinator_impl.h

Issue 2286583002: Make cc::SoftwareImageDecodeController, cc::ResourcePool, and cc::StagingBufferPoo… (Closed)
Patch Set: Fixed BUILD.gn's DEPS Created 4 years, 3 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/child/child_memory_coordinator_impl.h
diff --git a/components/memory_coordinator/child/child_memory_coordinator_impl.h b/components/memory_coordinator/child/child_memory_coordinator_impl.h
index b4af1f66a45ca99759e9920dda6d937a33737c4d..e901c84fedf097ddfee969f67aa7ef8bdf8e3831 100644
--- a/components/memory_coordinator/child/child_memory_coordinator_impl.h
+++ b/components/memory_coordinator/child/child_memory_coordinator_impl.h
@@ -41,6 +41,11 @@ class MEMORY_COORDINATOR_EXPORT ChildMemoryCoordinatorImpl
// mojom::ChildMemoryCoordinator implementations:
void OnStateChange(mojom::MemoryState state) override;
+ void PrepareToSuspend() {
+ // TODO(tasak): Change states of memory coordinator clients to be
+ // SUSPENDED.
+ }
+
protected:
ChildMemoryCoordinatorDelegate* delegate() { return delegate_; }

Powered by Google App Engine
This is Rietveld 408576698