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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 4 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
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 "device/geolocation/location_provider_android.h" 5 #include "content/browser/geolocation/location_provider_android.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "device/geolocation/geoposition.h" 9 #include "content/browser/geolocation/location_api_adapter_android.h"
10 #include "device/geolocation/location_api_adapter_android.h" 10 #include "content/public/common/geoposition.h"
11 11
12 namespace device { 12 namespace content {
13 13
14 // LocationProviderAndroid 14 // LocationProviderAndroid
15 LocationProviderAndroid::LocationProviderAndroid() { 15 LocationProviderAndroid::LocationProviderAndroid() {
16 } 16 }
17 17
18 LocationProviderAndroid::~LocationProviderAndroid() { 18 LocationProviderAndroid::~LocationProviderAndroid() {
19 StopProvider(); 19 StopProvider();
20 } 20 }
21 21
22 void LocationProviderAndroid::NotifyNewGeoposition( 22 void LocationProviderAndroid::NotifyNewGeoposition(
(...skipping 20 matching lines...) Expand all
43 43
44 void LocationProviderAndroid::OnPermissionGranted() { 44 void LocationProviderAndroid::OnPermissionGranted() {
45 // Nothing to do here. 45 // Nothing to do here.
46 } 46 }
47 47
48 // static 48 // static
49 std::unique_ptr<LocationProvider> NewSystemLocationProvider() { 49 std::unique_ptr<LocationProvider> NewSystemLocationProvider() {
50 return base::WrapUnique(new LocationProviderAndroid); 50 return base::WrapUnique(new LocationProviderAndroid);
51 } 51 }
52 52
53 } // namespace device 53 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/location_provider_android.h ('k') | content/browser/geolocation/location_provider_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698