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

Unified Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 10778032: content: Put test_url_constants.* into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_browsertest.cc
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc
index 5ba07b83df00a4e213421af3b7848474a841f78e..e8f66a5df5db8fdd950869442c1dc07e083fe66a 100644
--- a/content/browser/renderer_host/render_process_host_browsertest.cc
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc
@@ -73,7 +73,7 @@ class RenderProcessHostTest : public InProcessBrowserTest {
content::RenderProcessHost* rph3 = NULL;
// Change the first tab to be the new tab page (TYPE_WEBUI).
- GURL newtab(chrome::kTestNewTabURL);
+ GURL newtab(content::kTestNewTabURL);
ui_test_utils::NavigateToURL(browser(), newtab);
EXPECT_EQ(tab_count, browser()->tab_count());
tab1 = chrome::GetWebContentsAt(browser(), tab_count - 1);
@@ -111,7 +111,7 @@ class RenderProcessHostTest : public InProcessBrowserTest {
// Note: intentionally create this tab after the TYPE_TABBED tabs to
// exercise bug 43448 where extension and WebUI tabs could get combined into
// normal renderers.
- GURL history(chrome::kTestHistoryURL);
+ GURL history(content::kTestHistoryURL);
chrome::ShowSingletonTab(browser(), history);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
@@ -124,7 +124,7 @@ class RenderProcessHostTest : public InProcessBrowserTest {
// Create a TYPE_EXTENSION tab. It should be in its own process.
// (the bookmark manager is implemented as an extension)
- GURL bookmarks(chrome::kTestBookmarksURL);
+ GURL bookmarks(content::kTestBookmarksURL);
chrome::ShowSingletonTab(browser(), bookmarks);
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
@@ -160,7 +160,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessPerTab) {
int host_count = 1;
// Change the first tab to be the new tab page (TYPE_WEBUI).
- GURL newtab(chrome::kTestNewTabURL);
+ GURL newtab(content::kTestNewTabURL);
ui_test_utils::NavigateToURL(browser(), newtab);
EXPECT_EQ(tab_count, browser()->tab_count());
EXPECT_EQ(host_count, RenderProcessHostCount());
@@ -213,7 +213,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, Backgrounding) {
parsed_command_line.AppendSwitch(switches::kProcessPerTab);
// Change the first tab to be the new tab page (TYPE_WEBUI).
- GURL newtab(chrome::kTestNewTabURL);
+ GURL newtab(content::kTestNewTabURL);
ui_test_utils::NavigateToURL(browser(), newtab);
// Create a new tab. It should be foreground.

Powered by Google App Engine
This is Rietveld 408576698