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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 101026: Change chrome-ui to chrome. I didn't go too far in converting existing string... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/browser/browser_about_handler.h ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 15342)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -76,7 +76,7 @@
// time that about memory is being computed.
std::string GetAboutMemoryRedirectResponse() {
return "<meta http-equiv=\"refresh\" "
- "content=\"0;chrome-ui://about/memory\">";
+ "content=\"0;chrome://about/memory\">";
}
class AboutSource : public ChromeURLDataManager::DataSource {
@@ -612,20 +612,20 @@
// Special case about:memory to go through a redirect before ending up on
// the final page. See GetAboutMemoryRedirectResponse above for why.
if (LowerCaseEqualsASCII(url->path(), kMemoryPath)) {
- *url = GURL("chrome-ui://about/memory-redirect");
+ *url = GURL("chrome://about/memory-redirect");
return true;
}
- // Rewrite the about URL to use chrome-ui. WebKit treats all about URLS the
+ // Rewrite the about URL to use chrome:. WebKit treats all about URLS the
// same (blank page), so if we want to display content, we need another
// scheme.
- std::string about_url = "chrome-ui://about/";
+ std::string about_url = "chrome://about/";
about_url.append(url->path());
*url = GURL(about_url);
return true;
}
-// This function gets called with the fixed-up chrome-ui URLs, so we have to
+// This function gets called with the fixed-up chrome: URLs, so we have to
// compare against those instead of "about:blah".
bool HandleNonNavigationAboutURL(const GURL& url) {
// About:network and IPC and currently buggy, so we disable it for official
« no previous file with comments | « chrome/browser/browser_about_handler.h ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698