diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-10 16:10:18 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-10 16:10:18 +0000 |
commit | b33f0114e64e7eb1825c26c2b320f2c63d7d12b9 (patch) | |
tree | 712bd55c8ff50177ef00735b2703e674ce353459 /chrome/browser/geolocation | |
parent | 304359bf2d128eebb0843d9ffe914e663b35d495 (diff) | |
download | chromium_src-b33f0114e64e7eb1825c26c2b320f2c63d7d12b9.zip chromium_src-b33f0114e64e7eb1825c26c2b320f2c63d7d12b9.tar.gz chromium_src-b33f0114e64e7eb1825c26c2b320f2c63d7d12b9.tar.bz2 |
Remove spurious MovementDetected functions (follow up to http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/geolocation/location_provider.h?r1=43339&r2=48711)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2747008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation')
-rw-r--r-- | chrome/browser/geolocation/location_arbitrator.cc | 6 | ||||
-rw-r--r-- | chrome/browser/geolocation/network_location_provider_unittest.cc | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/geolocation/location_arbitrator.cc b/chrome/browser/geolocation/location_arbitrator.cc index 810beb2..80e963a 100644 --- a/chrome/browser/geolocation/location_arbitrator.cc +++ b/chrome/browser/geolocation/location_arbitrator.cc @@ -54,7 +54,6 @@ class GeolocationArbitratorImpl // ListenerInterface virtual void LocationUpdateAvailable(LocationProviderBase* provider); - virtual void MovementDetected(LocationProviderBase* provider); void OnAccessTokenStoresLoaded( AccessTokenStore::AccessTokenSet access_token_store); @@ -202,11 +201,6 @@ void GeolocationArbitratorImpl::LocationUpdateAvailable( } } -void GeolocationArbitratorImpl::MovementDetected( - LocationProviderBase* provider) { - DCHECK(CalledOnValidThread()); -} - void GeolocationArbitratorImpl::OnAccessTokenStoresLoaded( AccessTokenStore::AccessTokenSet access_token_set) { DCHECK(network_providers_.empty()) diff --git a/chrome/browser/geolocation/network_location_provider_unittest.cc b/chrome/browser/geolocation/network_location_provider_unittest.cc index 42ec2f6f..6003c53 100644 --- a/chrome/browser/geolocation/network_location_provider_unittest.cc +++ b/chrome/browser/geolocation/network_location_provider_unittest.cc @@ -35,11 +35,6 @@ class MessageLoopQuitListener updated_provider_ = provider; client_message_loop_->Quit(); } - virtual void MovementDetected(LocationProviderBase* provider) { - EXPECT_EQ(client_message_loop_, MessageLoop::current()); - movement_provider_ = provider; - client_message_loop_->Quit(); - } MessageLoop* client_message_loop_; LocationProviderBase* updated_provider_; LocationProviderBase* movement_provider_; |