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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 3776005: Merge 62624 - Rename about:labs to about:flags, step 1/3... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 2 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/app/generated_resources.grd ('k') | chrome/browser/dom_ui/dom_ui_factory.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 62685)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -101,9 +101,9 @@
const char kCreditsPath[] = "credits";
const char kCachePath[] = "view-http-cache";
const char kDnsPath[] = "dns";
+const char kFlagsPath[] = "flags";
const char kGpuPath[] = "gpu";
const char kHistogramsPath[] = "histograms";
-const char kLabsPath[] = "labs";
const char kMemoryRedirectPath[] = "memory-redirect";
const char kMemoryPath[] = "memory";
const char kStatsPath[] = "stats";
@@ -134,9 +134,9 @@
kCachePath,
kCreditsPath,
kDnsPath,
+ kFlagsPath,
kGpuPath,
kHistogramsPath,
- kLabsPath,
kMemoryPath,
kNetInternalsPath,
kPluginsPath,
@@ -259,12 +259,12 @@
html.append("<html><head><title>About Pages</title></head><body>\n");
html.append("<h2>List of About pages</h2><ul>\n");
for (size_t i = 0; i < arraysize(kAllAboutPaths); i++) {
- if (kAllAboutPaths[i] == kLabsPath && !about_labs::IsEnabled())
+ if (kAllAboutPaths[i] == kFlagsPath && !about_labs::IsEnabled())
continue;
if (kAllAboutPaths[i] == kAppCacheInternalsPath ||
kAllAboutPaths[i] == kBlobInternalsPath ||
kAllAboutPaths[i] == kCachePath ||
- kAllAboutPaths[i] == kLabsPath ||
+ kAllAboutPaths[i] == kFlagsPath ||
kAllAboutPaths[i] == kNetInternalsPath ||
kAllAboutPaths[i] == kPluginsPath) {
html.append("<li><a href='chrome://");
@@ -1180,9 +1180,9 @@
if (about_labs::IsEnabled()) {
// Rewrite about:labs and about:vaporware to chrome://labs/.
- if (LowerCaseEqualsASCII(url->spec(), chrome::kAboutLabsURL) ||
+ if (LowerCaseEqualsASCII(url->spec(), chrome::kAboutFlagsURL) ||
LowerCaseEqualsASCII(url->spec(), chrome::kAboutVaporwareURL)) {
- *url = GURL(chrome::kChromeUILabsURL);
+ *url = GURL(chrome::kChromeUIFlagsURL);
return true;
}
}
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/dom_ui/dom_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698