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..b575edb26a7c23ced6093c743efd87319179b253 |
| --- /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_ |
|
bashi
2016/11/08 06:19:21
nit: CONTENT_PUBLIC_TEST_MEMORY_COORDINATOR_TEST_U
hajimehoshi
2016/11/08 06:24:44
Done.
|
| +#define CONTENT_PUBLIC_BROWSER_MEMORY_COORDINATOR_TEST_UTILS_H_ |
| + |
| +namespace content { |
| + |
| +// Enables the memory coordinator feature. |
| +void EnableMemoryCoordinatorFeaturesForTesting(); |
| + |
| +// Sets up MemoryCoordinatorProxy with a regular MemoryCoordinator. |
| +void SetUpMemoryCoordinatorProxyForTesting(); |
| + |
| +} |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_MEMORY_COORDINATOR_TEST_UTILS_H_ |