Index: components/memory_coordinator/common/memory_coordinator_features.h |
diff --git a/components/memory_coordinator/common/memory_coordinator_features.h b/components/memory_coordinator/common/memory_coordinator_features.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..606a12c2d65d7ee785c20079f967d0629c6bfcca |
--- /dev/null |
+++ b/components/memory_coordinator/common/memory_coordinator_features.h |
@@ -0,0 +1,22 @@ |
+// 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. |
+ |
+#ifndef COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_ |
+#define COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_ |
+ |
+#include "base/feature_list.h" |
+ |
+namespace memory_coordinator { |
+ |
+extern const base::Feature kMemoryCoordinator; |
+ |
+// Returns true when the memory coordinator is enabled. |
+bool IsEnabled(); |
+ |
+// Enable the memory coordinator for testing. |
+void EnableForTesting(); |
+ |
+} // memory_coordinator |
+ |
+#endif // COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_ |