diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 21:00:43 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 21:00:43 +0000 |
commit | 2ee0418ef13f9fc36bcdd5ea2a7787b13fa6ca8a (patch) | |
tree | b7e9c3a55a2550a663fcf0a3fa09208775f08ff6 /chrome/common/url_constants.h | |
parent | 90945981628689f5b121afb3c9dc84f4c69cf6c2 (diff) | |
download | chromium_src-2ee0418ef13f9fc36bcdd5ea2a7787b13fa6ca8a.zip chromium_src-2ee0418ef13f9fc36bcdd5ea2a7787b13fa6ca8a.tar.gz chromium_src-2ee0418ef13f9fc36bcdd5ea2a7787b13fa6ca8a.tar.bz2 |
Do some minor cleanup I noticed in SiteInstance. Before, we would parse and
canonicalize the three about URLs every time this function was called (I think
for every page transition). This is unnecessary, so I just added a string
comparison.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/149084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/url_constants.h')
-rw-r--r-- | chrome/common/url_constants.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index c058d85..69d6c54 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -31,9 +31,12 @@ extern const char kStandardSchemeSeparator[]; // About URLs (including schmes). extern const char kAboutBlankURL[]; +extern const char kAboutBrowserCrash[]; extern const char kAboutCacheURL[]; +extern const char kAboutCrashURL[]; +extern const char kAboutHangURL[]; extern const char kAboutMemoryURL[]; -extern const char kAboutBrowserCrash[]; +extern const char kAboutShorthangURL[]; // chrome: URLs (including schemes). Should be kept in sync with the // components below. |