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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2094583002: Add MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create handle per child Created 4 years, 5 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/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 19fb80872c51c98eb0f8b884828241a82d4d9920..12065ec496f2bd0e3598d5b72b27b804ede83f82 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -79,6 +79,10 @@ class AudioHardwareConfig;
class GpuVideoAcceleratorFactories;
}
+namespace memory_coordinator {
+class ChildMemoryCoordinatorImpl;
+}
+
namespace scheduler {
class WebThreadBase;
}
@@ -646,6 +650,8 @@ class CONTENT_EXPORT RenderThreadImpl
std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
std::unique_ptr<MemoryObserver> memory_observer_;
+ std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
+ memory_coordinator_;
scoped_refptr<base::SingleThreadTaskRunner>
main_thread_compositor_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698