OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_TEST_BLINK_TEST_ENVIRONMENT_H_ | 5 #ifndef CONTENT_TEST_BLINK_TEST_ENVIRONMENT_H_ |
6 #define CONTENT_TEST_BLINK_TEST_ENVIRONMENT_H_ | 6 #define CONTENT_TEST_BLINK_TEST_ENVIRONMENT_H_ |
7 | 7 |
8 // This package provides functions used by webkit_unit_tests. | 8 // This package provides functions used by webkit_unit_tests. |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 // Initializes Blink test environment for unit tests. | 11 // Initializes Blink test environment for unit tests. |
12 void SetUpBlinkTestEnvironment(); | 12 void SetUpBlinkTestEnvironment(); |
13 | 13 |
14 // Terminates Blink test environment for unit tests. | 14 // Terminates Blink test environment for unit tests. |
15 void TearDownBlinkTestEnvironment(); | 15 void TearDownBlinkTestEnvironment(); |
16 | 16 |
17 // TODO(tfarina): Remove these when Blink is updated to call the above | |
18 // functions. DEPRECATED! | |
19 void SetUpTestEnvironmentForUnitTests(); | |
20 void TearDownTestEnvironment(); | |
21 | |
22 } // namespace content | 17 } // namespace content |
23 | 18 |
24 #endif // CONTENT_TEST_BLINK_TEST_ENVIRONMENT_H_ | 19 #endif // CONTENT_TEST_BLINK_TEST_ENVIRONMENT_H_ |
OLD | NEW |