From dc0a8b963024ca73d49d966ef924fed07a258710 Mon Sep 17 00:00:00 2001 From: "steveblock@chromium.org" Date: Thu, 10 May 2012 15:30:10 +0000 Subject: Fix override of LocationProviderBase::OnPermissionGranted() in LocationProviderAndroid See http://codereview.chromium.org/10107017 Review URL: https://chromiumcodereview.appspot.com/10332091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136307 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/geolocation/location_provider_android.cc | 3 +-- content/browser/geolocation/location_provider_android.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'content/browser/geolocation') diff --git a/content/browser/geolocation/location_provider_android.cc b/content/browser/geolocation/location_provider_android.cc index 8628679..a185422 100644 --- a/content/browser/geolocation/location_provider_android.cc +++ b/content/browser/geolocation/location_provider_android.cc @@ -38,8 +38,7 @@ void LocationProviderAndroid::UpdatePosition() { // Nothing to do here, android framework will call us back on new position. } -void LocationProviderAndroid::OnPermissionGranted( - const GURL& requesting_frame) { +void LocationProviderAndroid::OnPermissionGranted() { // Nothing to do here. } diff --git a/content/browser/geolocation/location_provider_android.h b/content/browser/geolocation/location_provider_android.h index 748bca1..4a86d8c 100644 --- a/content/browser/geolocation/location_provider_android.h +++ b/content/browser/geolocation/location_provider_android.h @@ -26,7 +26,7 @@ class LocationProviderAndroid : public LocationProviderBase { virtual void StopProvider() OVERRIDE; virtual void GetPosition(content::Geoposition* position) OVERRIDE; virtual void UpdatePosition() OVERRIDE; - virtual void OnPermissionGranted(const GURL& requesting_frame) OVERRIDE; + virtual void OnPermissionGranted() OVERRIDE; private: content::Geoposition last_position_; -- cgit v1.1