Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: content/browser/geolocation/location_provider_android.cc

Issue 10332091: Fix override of LocationProviderBase::OnPermissionGranted() in LocationProviderAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/geolocation/location_provider_android.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/geolocation/location_provider_android.h" 5 #include "content/browser/geolocation/location_provider_android.h"
6 6
7 #include "base/time.h" 7 #include "base/time.h"
8 #include "content/browser/geolocation/location_api_adapter_android.h" 8 #include "content/browser/geolocation/location_api_adapter_android.h"
9 #include "content/public/common/geoposition.h" 9 #include "content/public/common/geoposition.h"
10 10
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 32
33 void LocationProviderAndroid::GetPosition(content::Geoposition* position) { 33 void LocationProviderAndroid::GetPosition(content::Geoposition* position) {
34 *position = last_position_; 34 *position = last_position_;
35 } 35 }
36 36
37 void LocationProviderAndroid::UpdatePosition() { 37 void LocationProviderAndroid::UpdatePosition() {
38 // Nothing to do here, android framework will call us back on new position. 38 // Nothing to do here, android framework will call us back on new position.
39 } 39 }
40 40
41 void LocationProviderAndroid::OnPermissionGranted( 41 void LocationProviderAndroid::OnPermissionGranted() {
42 const GURL& requesting_frame) {
43 // Nothing to do here. 42 // Nothing to do here.
44 } 43 }
45 44
46 LocationProviderBase* NewSystemLocationProvider() { 45 LocationProviderBase* NewSystemLocationProvider() {
47 return new LocationProviderAndroid; 46 return new LocationProviderAndroid;
48 } 47 }
OLDNEW
« no previous file with comments | « content/browser/geolocation/location_provider_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698