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

Side by Side Diff: content/public/test/test_renderer_host.cc

Issue 1137083005: Move ContentBrowserSanityChecker and WebContentsObserverSanityChecker from content/public/test to c… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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 #include "content/public/test/test_renderer_host.h" 5 #include "content/public/test/test_renderer_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "content/browser/frame_host/navigation_entry_impl.h" 9 #include "content/browser/frame_host/navigation_entry_impl.h"
10 #include "content/browser/renderer_host/render_view_host_factory.h" 10 #include "content/browser/renderer_host/render_view_host_factory.h"
11 #include "content/browser/renderer_host/render_widget_host_impl.h" 11 #include "content/browser/renderer_host/render_widget_host_impl.h"
12 #include "content/browser/site_instance_impl.h" 12 #include "content/browser/site_instance_impl.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "content/public/common/content_switches.h" 15 #include "content/public/common/content_switches.h"
16 #include "content/public/test/content_browser_sanity_checker.h"
17 #include "content/public/test/mock_render_process_host.h" 16 #include "content/public/test/mock_render_process_host.h"
18 #include "content/public/test/test_browser_context.h" 17 #include "content/public/test/test_browser_context.h"
19 #include "content/test/browser_side_navigation_test_utils.h" 18 #include "content/test/browser_side_navigation_test_utils.h"
19 #include "content/test/content_browser_sanity_checker.h"
20 #include "content/test/test_render_frame_host.h" 20 #include "content/test/test_render_frame_host.h"
21 #include "content/test/test_render_frame_host_factory.h" 21 #include "content/test/test_render_frame_host_factory.h"
22 #include "content/test/test_render_view_host.h" 22 #include "content/test/test_render_view_host.h"
23 #include "content/test/test_render_view_host_factory.h" 23 #include "content/test/test_render_view_host_factory.h"
24 #include "content/test/test_web_contents.h" 24 #include "content/test/test_web_contents.h"
25 25
26 #if defined(OS_WIN) 26 #if defined(OS_WIN)
27 #include "ui/base/win/scoped_ole_initializer.h" 27 #include "ui/base/win/scoped_ole_initializer.h"
28 #endif 28 #endif
29 29
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 BrowserContext* RenderViewHostTestHarness::CreateBrowserContext() { 242 BrowserContext* RenderViewHostTestHarness::CreateBrowserContext() {
243 return new TestBrowserContext(); 243 return new TestBrowserContext();
244 } 244 }
245 245
246 void RenderViewHostTestHarness::SetRenderProcessHostFactory( 246 void RenderViewHostTestHarness::SetRenderProcessHostFactory(
247 RenderProcessHostFactory* factory) { 247 RenderProcessHostFactory* factory) {
248 rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory); 248 rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory);
249 } 249 }
250 250
251 } // namespace content 251 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/content_browser_sanity_checker.cc ('k') | content/public/test/web_contents_observer_sanity_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698