summaryrefslogtreecommitdiffstats
path: root/chrome/browser/site_instance_unittest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 18:39:24 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 18:39:24 +0000
commit3f8cb62b2416b1365407eaaf935664509ebcef5c (patch)
tree4293fcd06e7de652e09967d7b9479135704886e9 /chrome/browser/site_instance_unittest.cc
parent8793b4d15e6af6b41cc5a3f819c219cfb65b1e73 (diff)
downloadchromium_src-3f8cb62b2416b1365407eaaf935664509ebcef5c.zip
chromium_src-3f8cb62b2416b1365407eaaf935664509ebcef5c.tar.gz
chromium_src-3f8cb62b2416b1365407eaaf935664509ebcef5c.tar.bz2
More URL constants replacement.
Review URL: http://codereview.chromium.org/28170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/site_instance_unittest.cc')
-rw-r--r--chrome/browser/site_instance_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/site_instance_unittest.cc b/chrome/browser/site_instance_unittest.cc
index 71fa4d9..85fa7d5 100644
--- a/chrome/browser/site_instance_unittest.cc
+++ b/chrome/browser/site_instance_unittest.cc
@@ -241,9 +241,9 @@ TEST_F(SiteInstanceTest, IsSameWebSite) {
GURL url_foo_https = GURL("https://foo/a.html");
GURL url_foo_port = GURL("http://foo:8080/a.html");
GURL url_javascript = GURL("javascript:alert(1);");
- GURL url_crash = GURL("about:crash");
- GURL url_hang = GURL("about:hang");
- GURL url_shorthang = GURL("about:shorthang");
+ GURL url_crash = GURL(chrome::kAboutCrashURL);
+ GURL url_hang = GURL(chrome::kAboutHangURL);
+ GURL url_shorthang = GURL(chrome::kAboutShortHangURL);
// Same scheme and port -> same site.
EXPECT_TRUE(SiteInstance::IsSameWebSite(url_foo, url_foo2));