Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: ui/views/test/webview_test_helper.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/test/views_test_base.h ('k') | ui/views/test/webview_test_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 9
10 namespace base {
10 class MessageLoopForUI; 11 class MessageLoopForUI;
12 }
11 13
12 namespace content { 14 namespace content {
13 class TestContentClientInitializer; 15 class TestContentClientInitializer;
14 class TestBrowserThread; 16 class TestBrowserThread;
15 } // namespace content 17 } // namespace content
16 18
17 namespace views { 19 namespace views {
18 20
19 class WebViewTestHelper { 21 class WebViewTestHelper {
20 public: 22 public:
21 explicit WebViewTestHelper(MessageLoopForUI* ui_loop); 23 explicit WebViewTestHelper(base::MessageLoopForUI* ui_loop);
22 virtual ~WebViewTestHelper(); 24 virtual ~WebViewTestHelper();
23 25
24 private: 26 private:
25 scoped_ptr<content::TestContentClientInitializer> 27 scoped_ptr<content::TestContentClientInitializer>
26 test_content_client_initializer_; 28 test_content_client_initializer_;
27 29
28 scoped_ptr<content::TestBrowserThread> ui_thread_; 30 scoped_ptr<content::TestBrowserThread> ui_thread_;
29 31
30 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper); 32 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper);
31 }; 33 };
32 34
33 } // namespace views 35 } // namespace views
34 36
35 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ 37 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « ui/views/test/views_test_base.h ('k') | ui/views/test/webview_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698