summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorallanwoj@chromium.org <allanwoj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 15:02:25 +0000
committerallanwoj@chromium.org <allanwoj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 15:02:25 +0000
commitbb6013e184e36780d4fdc01bfd194eb9a8bd1835 (patch)
tree79d6f6c7681d2248adbc974e5583836674e5752b /chrome/common
parent59ada8162749a5be2d58f3ed7340d470d588e4a0 (diff)
downloadchromium_src-bb6013e184e36780d4fdc01bfd194eb9a8bd1835.zip
chromium_src-bb6013e184e36780d4fdc01bfd194eb9a8bd1835.tar.gz
chromium_src-bb6013e184e36780d4fdc01bfd194eb9a8bd1835.tar.bz2
Unify experimental location features under one flag.
Changed the CoreLocation and Win7 Location Api enable flags to the same one as gateway data provider so that all experimental geolocation features can be enabled/disabled at once. BUG=None TEST=Experimental location features work under run time flag --experimental-location-features Review URL: http://codereview.chromium.org/3419021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc10
-rw-r--r--chrome/common/chrome_switches.h2
2 files changed, 4 insertions, 8 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index f93210c..f3ee9f3 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -394,9 +394,6 @@ const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs";
// Link: headers.
const char kEnableContentPrefetch[] = "enable-content-prefetch";
-// Enable CoreLocation geoposition data provider
-const char kEnableCoreLocation[] = "enable-core-location";
-
// Enables device motion events.
const char kEnableDeviceMotion[] = "enable-device-motion";
@@ -550,13 +547,14 @@ const char kEnableVideoLogging[] = "enable-video-logging";
// Order of the listed sub-arguments does not matter.
const char kEnableWatchdog[] = "enable-watchdog";
-// Enables Windows 7 Location Platform provider for geolocation API.
-const char kEnableWin7Location[] = "enable-win7-location";
-
// Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
const char kEnableXSSAuditor[] = "enable-xss-auditor";
// Enables experimental features for the geolocation API.
+// Current features:
+// - CoreLocation support for Mac OS X 10.6
+// - Gateway location for Windows
+// - Location platform support for Windows 7
const char kExperimentalLocationFeatures[] = "experimental-location-features";
// Enables experimental features for Spellchecker. Right now, the first
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index f6c1c27..e9fa031 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -122,7 +122,6 @@ extern const char kEnableCloudPrintProxy[];
extern const char kEnableCloudPrint[];
extern const char kEnableConnectBackupJobs[];
extern const char kEnableContentPrefetch[];
-extern const char kEnableCoreLocation[];
extern const char kEnableDeviceMotion[];
extern const char kEnableDNSSECCerts[];
extern const char kEnableExperimentalExtensionApis[];
@@ -168,7 +167,6 @@ extern const char kEnableVideoFullscreen[];
extern const char kEnableVideoLayering[];
extern const char kEnableVideoLogging[];
extern const char kEnableWatchdog[];
-extern const char kEnableWin7Location[];
extern const char kEnableXSSAuditor[];
// Experimental features.
extern const char kExperimentalLocationFeatures[];