diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 21:06:25 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 21:06:25 +0000 |
commit | e0d481585dfab19c0b01b7518080164fa001d54c (patch) | |
tree | ac4b3d806f6917093c8d1f6319d25381934d7211 /chrome/test/in_process_browser_test.cc | |
parent | a4c1eb2d00a9c66b4fc809916081cc727c998414 (diff) | |
download | chromium_src-e0d481585dfab19c0b01b7518080164fa001d54c.zip chromium_src-e0d481585dfab19c0b01b7518080164fa001d54c.tar.gz chromium_src-e0d481585dfab19c0b01b7518080164fa001d54c.tar.bz2 |
Replace a bunch of hardcoded URLs with constants from url_constants.h
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/193092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/in_process_browser_test.cc')
-rw-r--r-- | chrome/test/in_process_browser_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc index d4c26ee..74dfe5c 100644 --- a/chrome/test/in_process_browser_test.cc +++ b/chrome/test/in_process_browser_test.cc @@ -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 @@ HTTPTestServer* InProcessBrowserTest::StartHTTPServer() { 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( |