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

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: rebase 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
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 9a3795f2ddc0d1d801081766f2b817cad35cf6f6..b7ad13af3307205195f2e6922f24139a573a6230 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;
}
@@ -643,6 +647,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_;
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698