| 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 BLIMP_ENGINE_BROWSER_TESTS_BLIMP_BROWSER_TEST_H_ | 5 #ifndef BLIMP_ENGINE_BROWSER_TESTS_BLIMP_BROWSER_TEST_H_ |
| 6 #define BLIMP_ENGINE_BROWSER_TESTS_BLIMP_BROWSER_TEST_H_ | 6 #define BLIMP_ENGINE_BROWSER_TESTS_BLIMP_BROWSER_TEST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 11 #include "base/threading/thread_restrictions.h" | 11 #include "base/threading/thread_restrictions.h" |
| 12 #include "content/public/test/browser_test_base.h" | 12 #include "content/public/test/browser_test_base.h" |
| 13 | 13 |
| 14 namespace base { | |
| 15 class RunLoop; | |
| 16 } | |
| 17 | |
| 18 namespace content { | |
| 19 class WebContents; | |
| 20 } | |
| 21 | |
| 22 namespace blimp { | 14 namespace blimp { |
| 23 namespace client { | 15 namespace client { |
| 24 struct Assignment; | 16 struct Assignment; |
| 25 } // namespace client | 17 } // namespace client |
| 26 | 18 |
| 27 namespace engine { | 19 namespace engine { |
| 28 class BlimpEngineSession; | 20 class BlimpEngineSession; |
| 29 } // namespace engine | 21 } // namespace engine |
| 30 | 22 |
| 31 // Base class for tests which require a full instance of the Blimp engine. | 23 // Base class for tests which require a full instance of the Blimp engine. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // require setting up client components, as testing those sometimes requires | 71 // require setting up client components, as testing those sometimes requires |
| 80 // setting up GL contexts that might block. | 72 // setting up GL contexts that might block. |
| 81 std::unique_ptr<base::ThreadRestrictions::ScopedAllowWait> allow_ui_waits_; | 73 std::unique_ptr<base::ThreadRestrictions::ScopedAllowWait> allow_ui_waits_; |
| 82 | 74 |
| 83 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserTest); | 75 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserTest); |
| 84 }; | 76 }; |
| 85 | 77 |
| 86 } // namespace blimp | 78 } // namespace blimp |
| 87 | 79 |
| 88 #endif // BLIMP_ENGINE_BROWSER_TESTS_BLIMP_BROWSER_TEST_H_ | 80 #endif // BLIMP_ENGINE_BROWSER_TESTS_BLIMP_BROWSER_TEST_H_ |
| OLD | NEW |