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

Unified Diff: content/test/test_renderer_host.cc

Issue 10492009: Move test headers from content\test to content\public\test. This way we can enforce that internal c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/test/test_renderer_host.cc
===================================================================
--- content/test/test_renderer_host.cc (revision 140250)
+++ content/test/test_renderer_host.cc (working copy)
@@ -11,7 +11,7 @@
#include "content/browser/web_contents/test_web_contents.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/mock_render_process_host.h"
-#include "content/test/test_browser_context.h"
+#include "content/public/test/test_browser_context.h"
#include "content/test/test_render_view_host_factory.h"
#if defined(USE_AURA)
@@ -106,7 +106,7 @@
WebContents* RenderViewHostTestHarness::CreateTestWebContents() {
// See comment above browser_context_ decl for why we check for NULL here.
if (!browser_context_.get())
- browser_context_.reset(new TestBrowserContext());
+ browser_context_.reset(new content::TestBrowserContext());
// This will be deleted when the WebContentsImpl goes away.
SiteInstance* instance = SiteInstance::Create(browser_context_.get());
« content/public/test/test_browser_context.h ('K') | « content/test/test_browser_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698