summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorsteveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 15:30:10 +0000
committersteveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 15:30:10 +0000
commitdc0a8b963024ca73d49d966ef924fed07a258710 (patch)
treefb23f1ba24fea9e0b40cf132fec56ba04bb53b59 /content
parent3d5532b94edceb63ae3ba778c31685240cdbd468 (diff)
downloadchromium_src-dc0a8b963024ca73d49d966ef924fed07a258710.zip
chromium_src-dc0a8b963024ca73d49d966ef924fed07a258710.tar.gz
chromium_src-dc0a8b963024ca73d49d966ef924fed07a258710.tar.bz2
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
Diffstat (limited to 'content')
-rw-r--r--content/browser/geolocation/location_provider_android.cc3
-rw-r--r--content/browser/geolocation/location_provider_android.h2
2 files changed, 2 insertions, 3 deletions
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_;