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

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

Issue 2466883002: Add TabLoaderTest (Closed)
Patch Set: Address on reviews Created 4 years, 1 month 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 9a63c0ef773b308a7e32dc04fe5a012f80a42d63..9bc3c7fc480d4439db4c37c06f035486db2cfc56 100644
--- a/content/browser/memory/memory_coordinator_impl_unittest.cc
+++ b/content/browser/memory/memory_coordinator_impl_unittest.cc
@@ -7,6 +7,7 @@
#include "base/memory/memory_coordinator_proxy.h"
#include "base/run_loop.h"
#include "content/browser/memory/memory_monitor.h"
+#include "content/public/test/memory_coordinator_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
@@ -51,7 +52,7 @@ class MockMemoryMonitor : public MemoryMonitor {
class MemoryCoordinatorImplTest : public testing::Test {
public:
void SetUp() override {
- MemoryCoordinator::EnableFeaturesForTesting();
+ content::EnableFeaturesForTesting();
coordinator_.reset(new MemoryCoordinatorImpl(
message_loop_.task_runner(), base::WrapUnique(new MockMemoryMonitor)));

Powered by Google App Engine
This is Rietveld 408576698