diff options
author | allanwoj@chromium.org <allanwoj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-24 15:02:25 +0000 |
---|---|---|
committer | allanwoj@chromium.org <allanwoj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-24 15:02:25 +0000 |
commit | bb6013e184e36780d4fdc01bfd194eb9a8bd1835 (patch) | |
tree | 79d6f6c7681d2248adbc974e5583836674e5752b /chrome/browser | |
parent | 59ada8162749a5be2d58f3ed7340d470d588e4a0 (diff) | |
download | chromium_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/browser')
-rw-r--r-- | chrome/browser/geolocation/core_location_provider_mac.mm | 2 | ||||
-rw-r--r-- | chrome/browser/geolocation/win7_location_api_win.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/core_location_provider_mac.mm b/chrome/browser/geolocation/core_location_provider_mac.mm index e410426..deb92c9 100644 --- a/chrome/browser/geolocation/core_location_provider_mac.mm +++ b/chrome/browser/geolocation/core_location_provider_mac.mm @@ -44,7 +44,7 @@ void CoreLocationProviderMac::SetPosition(Geoposition* position) { LocationProviderBase* NewSystemLocationProvider() { if(CommandLine::ForCurrentProcess() - ->HasSwitch(switches::kEnableCoreLocation)) { + ->HasSwitch(switches::kExperimentalLocationFeatures)) { return new CoreLocationProviderMac; } return NULL; diff --git a/chrome/browser/geolocation/win7_location_api_win.cc b/chrome/browser/geolocation/win7_location_api_win.cc index 18bda1b..7b6c3ca 100644 --- a/chrome/browser/geolocation/win7_location_api_win.cc +++ b/chrome/browser/geolocation/win7_location_api_win.cc @@ -42,7 +42,7 @@ Win7LocationApi::~Win7LocationApi() { Win7LocationApi* Win7LocationApi::Create() { if (!CommandLine::ForCurrentProcess() - ->HasSwitch(switches::kEnableWin7Location)) + ->HasSwitch(switches::kExperimentalLocationFeatures)) return NULL; // Load probsys.dll string16 lib_needed = L"propsys.dll"; |