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

Unified Diff: chrome/test/in_process_browser_test.cc

Issue 193092: Replace a bunch of hardcoded URLs with constants from url_constants.h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_tests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/in_process_browser_test.cc
===================================================================
--- chrome/test/in_process_browser_test.cc (revision 26082)
+++ chrome/test/in_process_browser_test.cc (working copy)
@@ -28,6 +28,7 @@
#include "chrome/common/main_function_params.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/notification_type.h"
+#include "chrome/common/url_constants.h"
#include "chrome/test/testing_browser_process.h"
#include "chrome/test/ui_test_utils.h"
#include "sandbox/src/dep.h"
@@ -172,9 +173,8 @@
Browser* InProcessBrowserTest::CreateBrowser(Profile* profile) {
Browser* browser = Browser::Create(profile);
- browser->AddTabWithURL(
- GURL("about:blank"), GURL(), PageTransition::START_PAGE, true, -1, false,
- NULL);
+ browser->AddTabWithURL(GURL(chrome::kAboutBlankURL), GURL(),
+ PageTransition::START_PAGE, true, -1, false, NULL);
// Wait for the page to finish loading.
ui_test_utils::WaitForNavigation(
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698