Chromium Code Reviews| Index: content/public/test/memory_coordinator_test_utils.h |
| diff --git a/content/public/test/memory_coordinator_test_utils.h b/content/public/test/memory_coordinator_test_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..41549f01fcf89cf1a9ecff2939a50a4358476ce9 |
| --- /dev/null |
| +++ b/content/public/test/memory_coordinator_test_utils.h |
| @@ -0,0 +1,18 @@ |
| +// 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 CONTENT_PUBLIC_BROWSER_MEMORY_COORDINATOR_TEST_UTILS_H_ |
| +#define CONTENT_PUBLIC_BROWSER_MEMORY_COORDINATOR_TEST_UTILS_H_ |
| + |
| +namespace content { |
| + |
| +// Enables the memory coordinator feature. |
| +void EnableFeaturesForTesting(); |
|
bashi
2016/11/07 14:11:30
content::EnableFeaturesForTesting() sounds a bit g
hajimehoshi
2016/11/08 06:03:04
Oops, Done.
|
| + |
| +// Sets up MemoryCoordinatorProxy with a regular MemoryCoordinator. |
| +void SetUpMemoryCoordinatorProxyForTesting(); |
| + |
| +} |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_MEMORY_COORDINATOR_TEST_UTILS_H_ |