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

Unified Diff: components/memory_coordinator/common/memory_coordinator_features.cc

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: components/memory_coordinator/common/memory_coordinator_features.cc
diff --git a/components/memory_coordinator/common/memory_coordinator_features.cc b/components/memory_coordinator/common/memory_coordinator_features.cc
deleted file mode 100644
index ebbd19f0d424ac863582182f2f777eb037324aa3..0000000000000000000000000000000000000000
--- a/components/memory_coordinator/common/memory_coordinator_features.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/memory_coordinator/common/memory_coordinator_features.h"
-
-#include "base/feature_list.h"
-
-namespace memory_coordinator {
-
-const base::Feature kMemoryCoordinator {
- "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
-};
-
-bool IsEnabled() {
- return base::FeatureList::IsEnabled(kMemoryCoordinator);
-}
-
-void EnableForTesting() {
- base::FeatureList::ClearInstanceForTesting();
- std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
- feature_list->InitializeFromCommandLine(kMemoryCoordinator.name, "");
- base::FeatureList::SetInstance(std::move(feature_list));
-}
-
-} // namespace memory_coordinator

Powered by Google App Engine
This is Rietveld 408576698