diff options
author | hinoka@chromium.org <hinoka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-29 22:39:38 +0000 |
---|---|---|
committer | hinoka@chromium.org <hinoka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-29 22:39:38 +0000 |
commit | 7546080017409c5ccf19bb9431dbc79de5958572 (patch) | |
tree | 6c41f777348ee6ce6dde2dda8f4ce575541bc8f6 /chrome/browser/browser_about_handler.cc | |
parent | 37f31054c7415aa893179b32efb0eac1029819af (diff) | |
download | chromium_src-7546080017409c5ccf19bb9431dbc79de5958572.zip chromium_src-7546080017409c5ccf19bb9431dbc79de5958572.tar.gz chromium_src-7546080017409c5ccf19bb9431dbc79de5958572.tar.bz2 |
Fixed about:cache in about:about page
changed about:cache to redirect to chrome://view-http-cache instead
of chrome://about/cache.
TEST=Go to about:about and click on about:cache, check that it works
BUG=44699
Review URL: http://codereview.chromium.org/2860038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r-- | chrome/browser/browser_about_handler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index d76b048..88de8f0 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -86,7 +86,7 @@ namespace { // The (alphabetized) paths used for the about pages. const char kCreditsPath[] = "credits"; -const char kCachePath[] = "cache"; +const char kCachePath[] = "view-http-cache"; const char kDnsPath[] = "dns"; const char kHistogramsPath[] = "histograms"; const char kMemoryRedirectPath[] = "memory-redirect"; @@ -241,7 +241,8 @@ std::string AboutAbout() { html.append("<h2>List of About pages</h2><ul>\n"); for (size_t i = 0; i < arraysize(kAllAboutPaths); i++) { if (kAllAboutPaths[i] == kNetInternalsPath || - kAllAboutPaths[i] == kPluginsPath) + kAllAboutPaths[i] == kPluginsPath || + kAllAboutPaths[i] == kCachePath) html.append("<li><a href='chrome://"); else html.append("<li><a href='chrome://about/"); |