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 UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ | 5 #ifndef UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ |
6 #define UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ | 6 #define UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace base { | |
13 class MessageLoopForUI; | |
14 } | |
15 | |
16 namespace content { | 12 namespace content { |
17 class TestContentClientInitializer; | 13 class TestContentClientInitializer; |
18 } // namespace content | 14 } // namespace content |
19 | 15 |
20 namespace views { | 16 namespace views { |
21 | 17 |
22 class WebViewTestHelper { | 18 class WebViewTestHelper { |
23 public: | 19 public: |
24 WebViewTestHelper(); | 20 WebViewTestHelper(); |
25 virtual ~WebViewTestHelper(); | 21 virtual ~WebViewTestHelper(); |
26 | 22 |
27 private: | 23 private: |
28 std::unique_ptr<content::TestContentClientInitializer> | 24 std::unique_ptr<content::TestContentClientInitializer> |
29 test_content_client_initializer_; | 25 test_content_client_initializer_; |
30 | 26 |
31 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper); | 27 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper); |
32 }; | 28 }; |
33 | 29 |
34 } // namespace views | 30 } // namespace views |
35 | 31 |
36 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ | 32 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ |
OLD | NEW |