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

Unified Diff: content/browser/memory/memory_coordinator_impl_unittest.cc

Issue 2819493002: [Test] Move DelegatedFrameEvictor into components -public_deps (Closed)
Patch Set: use if null instead of feature Created 3 years, 8 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/browser/memory/memory_coordinator_impl_unittest.cc
diff --git a/content/browser/memory/memory_coordinator_impl_unittest.cc b/content/browser/memory/memory_coordinator_impl_unittest.cc
index c734077f9676443987e76594a3b31b61aa89da55..f4871c460b30f640ee21758c2f6ac75835c39612 100644
--- a/content/browser/memory/memory_coordinator_impl_unittest.cc
+++ b/content/browser/memory/memory_coordinator_impl_unittest.cc
@@ -4,6 +4,7 @@
#include "content/browser/memory/memory_coordinator_impl.h"
+#include "base/base_features.h"
#include "base/memory/memory_coordinator_client_registry.h"
#include "base/memory/memory_coordinator_proxy.h"
#include "base/memory/memory_pressure_monitor.h"
@@ -15,7 +16,6 @@
#include "base/test/test_mock_time_task_runner.h"
#include "content/browser/memory/memory_condition_observer.h"
#include "content/browser/memory/memory_monitor.h"
-#include "content/public/common/content_features.h"
#include "content/public/test/mock_render_process_host.h"
#include "content/public/test/test_browser_context.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -189,7 +189,8 @@ class MemoryCoordinatorImplTest : public base::MultiProcessTest {
void SetUp() override {
base::MultiProcessTest::SetUp();
- scoped_feature_list_.InitAndEnableFeature(features::kMemoryCoordinator);
+ scoped_feature_list_.InitAndEnableFeature(
+ base::features::kMemoryCoordinator);
task_runner_ = new base::TestMockTimeTaskRunner();
coordinator_.reset(new TestMemoryCoordinatorImpl(task_runner_));
« no previous file with comments | « content/browser/memory/memory_coordinator_impl_browsertest.cc ('k') | content/browser/renderer_host/delegated_frame_evictor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698