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

Side by Side Diff: chrome/browser/tab_contents/test_web_contents.cc

Issue 18432: Factor out the test web contents from the WebContents unit test so that it ca... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/renderer_host/test_render_view_host.h"
6 #include "chrome/browser/tab_contents/test_web_contents.h"
7
8 TestWebContents::TestWebContents(Profile* profile, SiteInstance* instance,
9 RenderViewHostFactory* rvh_factory)
10 : WebContents(profile, instance, rvh_factory, MSG_ROUTING_NONE, NULL),
11 transition_cross_site(false) {
12 }
13
14 TestRenderViewHost* TestWebContents::pending_rvh() {
15 return static_cast<TestRenderViewHost*>(
16 render_manager_.pending_render_view_host_);
17 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/test_web_contents.h ('k') | chrome/browser/tab_contents/web_contents_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698