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