summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-15 00:37:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-15 00:37:24 +0000
commit1a47d7ea5a641b185283228692c2767a69f09e1a (patch)
tree1bd29481a5f92314d950f18e5c599068fda26da4 /chrome/browser/browser_about_handler.cc
parent9e6499ead594ea1b46deb0145a4519bc52ea3678 (diff)
downloadchromium_src-1a47d7ea5a641b185283228692c2767a69f09e1a.zip
chromium_src-1a47d7ea5a641b185283228692c2767a69f09e1a.tar.gz
chromium_src-1a47d7ea5a641b185283228692c2767a69f09e1a.tar.bz2
Rename about:labs to about:flags, part 3/3
This renames the cc and h files, and renames the --no-labs switch to --no-experiments BUG=59139 TEST=about:flags still works Review URL: http://codereview.chromium.org/3777005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62682 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index be8317a..a93dd91c 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -24,6 +24,7 @@
#include "base/thread.h"
#include "base/tracked_objects.h"
#include "base/utf_string_conversions.h"
+#include "chrome/browser/about_flags.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/browser_thread.h"
@@ -31,7 +32,6 @@
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
#include "chrome/browser/gpu_process_host.h"
#include "chrome/browser/gpu_process_host_ui_shim.h"
-#include "chrome/browser/labs.h"
#include "chrome/browser/memory_details.h"
#include "chrome/browser/metrics/histogram_synchronizer.h"
#include "chrome/browser/net/predictor_api.h"
@@ -259,7 +259,7 @@ std::string AboutAbout() {
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] == kFlagsPath && !about_labs::IsEnabled())
+ if (kAllAboutPaths[i] == kFlagsPath && !about_flags::IsEnabled())
continue;
if (kAllAboutPaths[i] == kAppCacheInternalsPath ||
kAllAboutPaths[i] == kBlobInternalsPath ||
@@ -1178,8 +1178,8 @@ bool WillHandleBrowserAboutURL(GURL* url, Profile* profile) {
return true;
}
- if (about_labs::IsEnabled()) {
- // Rewrite about:labs and about:vaporware to chrome://labs/.
+ if (about_flags::IsEnabled()) {
+ // Rewrite about:flags and about:vaporware to chrome://flags/.
if (LowerCaseEqualsASCII(url->spec(), chrome::kAboutFlagsURL) ||
LowerCaseEqualsASCII(url->spec(), chrome::kAboutVaporwareURL)) {
*url = GURL(chrome::kChromeUIFlagsURL);