| 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..8b0518ab360e3174eff8874ae6d049744adb4ec5
|
| --- /dev/null
|
| +++ b/components/memory_coordinator/common/memory_coordinator_features.h
|
| @@ -0,0 +1,24 @@
|
| +// 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"
|
| +
|
| +// WARNING:
|
| +// The memory coordinator is not ready for use and enabling this may cause
|
| +// unexpected memory regression at this point. Please do not enable this.
|
| +
|
| +namespace memory_coordinator {
|
| +
|
| +// Returns true when the memory coordinator is enabled.
|
| +bool IsEnabled();
|
| +
|
| +// Enables the memory coordinator for testing.
|
| +void EnableForTesting();
|
| +
|
| +} // memory_coordinator
|
| +
|
| +#endif // COMPONENTS_MEMORY_COORDINATOR_COMMON_MEMORY_COORDINATOR_FEATURES_H_
|
|
|