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

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 342020: First of several patches to get rid of MessageLoop caching now that we have C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "chrome/browser/renderer_host/mock_render_process_host.h" 11 #include "chrome/browser/renderer_host/mock_render_process_host.h"
12 #include "chrome/browser/renderer_host/render_widget_host_view.h" 12 #include "chrome/browser/renderer_host/render_widget_host_view.h"
13 #include "chrome/browser/renderer_host/render_view_host.h" 13 #include "chrome/browser/renderer_host/render_view_host.h"
14 #include "chrome/browser/renderer_host/render_view_host_factory.h" 14 #include "chrome/browser/renderer_host/render_view_host_factory.h"
15 #include "chrome/browser/renderer_host/site_instance.h" 15 #include "chrome/browser/renderer_host/site_instance.h"
16 #include "chrome/browser/tab_contents/test_tab_contents.h" 16 #include "chrome/browser/tab_contents/test_tab_contents.h"
17 #include "chrome/browser/user_data_manager.h"
17 #include "chrome/test/testing_profile.h" 18 #include "chrome/test/testing_profile.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 20
20 #if defined(OS_WIN) 21 #if defined(OS_WIN)
21 #include "chrome/browser/tab_contents/navigation_controller.h" 22 #include "chrome/browser/tab_contents/navigation_controller.h"
22 #elif defined(OS_POSIX) 23 #elif defined(OS_POSIX)
23 #include "chrome/common/temp_scaffolding_stubs.h" 24 #include "chrome/common/temp_scaffolding_stubs.h"
24 #endif 25 #endif
25 26
26 // This file provides a testing framework for mocking out the RenderProcessHost 27 // This file provides a testing framework for mocking out the RenderProcessHost
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // SetUp function before calling the base class's (us) SetUp(). 248 // SetUp function before calling the base class's (us) SetUp().
248 scoped_ptr<TestingProfile> profile_; 249 scoped_ptr<TestingProfile> profile_;
249 250
250 MessageLoopForUI message_loop_; 251 MessageLoopForUI message_loop_;
251 252
252 MockRenderProcessHostFactory rph_factory_; 253 MockRenderProcessHostFactory rph_factory_;
253 TestRenderViewHostFactory rvh_factory_; 254 TestRenderViewHostFactory rvh_factory_;
254 255
255 scoped_ptr<TestTabContents> contents_; 256 scoped_ptr<TestTabContents> contents_;
256 257
258 scoped_ptr<UserDataManager> user_data_manager_;
259
257 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 260 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
258 }; 261 };
259 262
260 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 263 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698