OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_ |
| 6 #define COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_ |
| 7 |
| 8 #include "base/feature_list.h" |
| 9 |
| 10 // WARNING: |
| 11 // The memory coordinator is not ready for use and enabling this may cause |
| 12 // unexpected memory regression at this point. Please do not enable this. |
| 13 |
| 14 namespace memory_coordinator { |
| 15 |
| 16 // Returns true when the memory coordinator is enabled. |
| 17 bool IsEnabled(); |
| 18 |
| 19 // Enables the memory coordinator for testing. |
| 20 void EnableForTesting(); |
| 21 |
| 22 } // memory_coordinator |
| 23 |
| 24 #endif // COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_ |
OLD | NEW |