| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_TEST_ASH_TEST_BASE_H_ | 5 #ifndef ASH_TEST_ASH_TEST_BASE_H_ |
| 6 #define ASH_TEST_ASH_TEST_BASE_H_ | 6 #define ASH_TEST_ASH_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 std::unique_ptr<ui::test::EventGenerator> event_generator_; | 163 std::unique_ptr<ui::test::EventGenerator> event_generator_; |
| 164 #if defined(OS_WIN) | 164 #if defined(OS_WIN) |
| 165 ui::ScopedOleInitializer ole_initializer_; | 165 ui::ScopedOleInitializer ole_initializer_; |
| 166 #endif | 166 #endif |
| 167 | 167 |
| 168 DISALLOW_COPY_AND_ASSIGN(AshTestBase); | 168 DISALLOW_COPY_AND_ASSIGN(AshTestBase); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 class NoSessionAshTestBase : public AshTestBase { | 171 class NoSessionAshTestBase : public AshTestBase { |
| 172 public: | 172 public: |
| 173 NoSessionAshTestBase() { | 173 NoSessionAshTestBase() { set_start_session(false); } |
| 174 set_start_session(false); | |
| 175 } | |
| 176 ~NoSessionAshTestBase() override {} | 174 ~NoSessionAshTestBase() override {} |
| 177 | 175 |
| 178 private: | 176 private: |
| 179 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase); | 177 DISALLOW_COPY_AND_ASSIGN(NoSessionAshTestBase); |
| 180 }; | 178 }; |
| 181 | 179 |
| 182 } // namespace test | 180 } // namespace test |
| 183 } // namespace ash | 181 } // namespace ash |
| 184 | 182 |
| 185 #endif // ASH_TEST_ASH_TEST_BASE_H_ | 183 #endif // ASH_TEST_ASH_TEST_BASE_H_ |
| OLD | NEW |