OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_TEST_BASE_ASH_TEST_ENVIRONMENT_CHROME_H_ | 5 #ifndef CHROME_TEST_BASE_ASH_TEST_ENVIRONMENT_CHROME_H_ |
6 #define CHROME_TEST_BASE_ASH_TEST_ENVIRONMENT_CHROME_H_ | 6 #define CHROME_TEST_BASE_ASH_TEST_ENVIRONMENT_CHROME_H_ |
7 | 7 |
8 #include "ash/test/ash_test_environment.h" | 8 #include "ash/test/ash_test_environment.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 class AshTestEnvironmentChrome : public ash::test::AshTestEnvironment { | 11 class AshTestEnvironmentChrome : public ash::test::AshTestEnvironment { |
12 public: | 12 public: |
13 AshTestEnvironmentChrome(); | 13 AshTestEnvironmentChrome(); |
14 ~AshTestEnvironmentChrome() override; | 14 ~AshTestEnvironmentChrome() override; |
15 | 15 |
16 // AshTestEnvironment: | 16 // AshTestEnvironment: |
17 base::SequencedWorkerPool* GetBlockingPool() override; | 17 base::SequencedWorkerPool* GetBlockingPool() override; |
18 std::unique_ptr<views::ViewsDelegate> CreateViewsDelegate() override; | 18 std::unique_ptr<ash::test::AshTestViewsDelegate> CreateViewsDelegate() |
| 19 override; |
19 | 20 |
20 private: | 21 private: |
21 DISALLOW_COPY_AND_ASSIGN(AshTestEnvironmentChrome); | 22 DISALLOW_COPY_AND_ASSIGN(AshTestEnvironmentChrome); |
22 }; | 23 }; |
23 | 24 |
24 #endif // CHROME_TEST_BASE_ASH_TEST_ENVIRONMENT_CHROME_H_ | 25 #endif // CHROME_TEST_BASE_ASH_TEST_ENVIRONMENT_CHROME_H_ |
OLD | NEW |