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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2321313002: Move components/memory_coordinator -> content/ (Closed)
Patch Set: rebase etc 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: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index c05f90cf675d6fec03144853e010059d00400a6f..184c580bf6e0ca9315ef8c694db15c093f7cb1ee 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -22,8 +22,8 @@
#include "base/threading/thread_checker.h"
#include "base/timer/timer.h"
#include "build/build_config.h"
-#include "components/memory_coordinator/child/child_memory_coordinator_impl.h"
#include "content/child/child_thread_impl.h"
+#include "content/child/memory/child_memory_coordinator_impl.h"
#include "content/common/content_export.h"
#include "content/common/frame.mojom.h"
#include "content/common/frame_replication_state.h"
@@ -150,7 +150,7 @@ class CONTENT_EXPORT RenderThreadImpl
public ChildThreadImpl,
public gpu::GpuChannelHostFactory,
public blink::scheduler::RendererScheduler::RAILModeObserver,
- public memory_coordinator::ChildMemoryCoordinatorDelegate,
+ public ChildMemoryCoordinatorDelegate,
NON_EXPORTED_BASE(public CompositorDependencies) {
public:
static RenderThreadImpl* Create(const InProcessChildThreadParams& params);
@@ -450,7 +450,7 @@ class CONTENT_EXPORT RenderThreadImpl
mojom::StoragePartitionService* GetStoragePartitionService();
- // memory_coordinator::ChildMemoryCoordinatorDelegate implementation.
+ // ChildMemoryCoordinatorDelegate implementation.
void OnTrimMemoryImmediately() override;
protected:
@@ -652,8 +652,7 @@ 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_;
+ std::unique_ptr<ChildMemoryCoordinatorImpl> memory_coordinator_;
#if defined(USE_AURA)
std::unique_ptr<ui::GpuService> gpu_service_;

Powered by Google App Engine
This is Rietveld 408576698