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

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

Issue 2466883002: Add TabLoaderTest (Closed)
Patch Set: Address on sky's review 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.cc
diff --git a/content/browser/memory/memory_coordinator.cc b/content/browser/memory/memory_coordinator.cc
index 517aaedc34a1a13f696d9e0532c5c4c9117458a1..270b06566eda9f7f0b1e1a955d585b93e2d2424b 100644
--- a/content/browser/memory/memory_coordinator.cc
+++ b/content/browser/memory/memory_coordinator.cc
@@ -8,7 +8,6 @@
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/content_client.h"
-#include "content/public/common/content_features.h"
namespace content {
@@ -120,14 +119,6 @@ mojom::MemoryState MemoryCoordinator::GetMemoryState(
return iter->second.memory_state;
}
-void MemoryCoordinator::EnableFeaturesForTesting() {
- base::FeatureList::ClearInstanceForTesting();
- std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
- feature_list->InitializeFromCommandLine(features::kMemoryCoordinator.name,
- "");
- base::FeatureList::SetInstance(std::move(feature_list));
-}
-
base::MemoryState MemoryCoordinator::GetCurrentMemoryState() const {
return base::MemoryState::UNKNOWN;
}

Powered by Google App Engine
This is Rietveld 408576698