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

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

Issue 2286583002: Make cc::SoftwareImageDecodeController, cc::ResourcePool, and cc::StagingBufferPoo… (Closed)
Patch Set: Updated (r418766) 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 c63a7639624ed60b050c1645c02f250e3850cc57..b9126f9a901e72141c36e807cebdf753cb813644 100644
--- a/components/memory_coordinator/child/child_memory_coordinator_impl.h
+++ b/components/memory_coordinator/child/child_memory_coordinator_impl.h
@@ -39,6 +39,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