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

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

Issue 17127002: Correctly integrate StoragePartition into TestingProfile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix InstantNTP test. Created 7 years, 5 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 | « google_apis/gaia/oauth2_api_call_flow_unittest.cc ('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 namespace base {
11 class MessageLoopForUI; 11 class MessageLoopForUI;
12 } 12 }
13 13
14 namespace content { 14 namespace content {
15 class TestContentClientInitializer; 15 class TestContentClientInitializer;
16 class TestBrowserThread;
17 } // namespace content 16 } // namespace content
18 17
19 namespace views { 18 namespace views {
20 19
21 class WebViewTestHelper { 20 class WebViewTestHelper {
22 public: 21 public:
23 explicit WebViewTestHelper(base::MessageLoopForUI* ui_loop); 22 WebViewTestHelper();
24 virtual ~WebViewTestHelper(); 23 virtual ~WebViewTestHelper();
25 24
26 private: 25 private:
27 scoped_ptr<content::TestContentClientInitializer> 26 scoped_ptr<content::TestContentClientInitializer>
28 test_content_client_initializer_; 27 test_content_client_initializer_;
29 28
30 scoped_ptr<content::TestBrowserThread> ui_thread_;
31
32 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper); 29 DISALLOW_COPY_AND_ASSIGN(WebViewTestHelper);
33 }; 30 };
34 31
35 } // namespace views 32 } // namespace views
36 33
37 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_ 34 #endif // UI_VIEWS_TEST_WEB_VIEW_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_api_call_flow_unittest.cc ('k') | ui/views/test/webview_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698