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

Side by Side Diff: blimp/engine/feature/geolocation/blimp_location_provider.cc

Issue 2028823002: Refactor to make BlimpLocationProvider accessible to content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to address kmarshall's comments Created 4 years, 6 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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 "blimp/engine/feature/geolocation/blimp_location_provider.h" 5 #include "blimp/engine/feature/geolocation/blimp_location_provider.h"
6 6
7 #include "content/public/common/geoposition.h" 7 #include "content/public/common/geoposition.h"
8 8
9 namespace blimp { 9 namespace blimp {
10 namespace engine { 10 namespace engine {
11 11
12 BlimpLocationProvider::BlimpLocationProvider() { 12 BlimpLocationProvider::BlimpLocationProvider() {}
13 NOTIMPLEMENTED();
14 }
15 13
16 BlimpLocationProvider::~BlimpLocationProvider() { 14 BlimpLocationProvider::~BlimpLocationProvider() {
17 StopProvider(); 15 StopProvider();
18 } 16 }
19 17
20 bool BlimpLocationProvider::StartProvider(bool high_accuracy) { 18 bool BlimpLocationProvider::StartProvider(bool high_accuracy) {
21 NOTIMPLEMENTED(); 19 NOTIMPLEMENTED();
22 return true; 20 return true;
23 } 21 }
24 22
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 54
57 void BlimpLocationProvider::SetUpdateCallback( 55 void BlimpLocationProvider::SetUpdateCallback(
58 const LocationProviderUpdateCallback& callback) { 56 const LocationProviderUpdateCallback& callback) {
59 DCHECK(!callback.is_null()); 57 DCHECK(!callback.is_null());
60 58
61 callback_ = callback; 59 callback_ = callback;
62 } 60 }
63 61
64 } // namespace engine 62 } // namespace engine
65 } // namespace blimp 63 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698