OLD | NEW |
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 #ifndef DEVICE_GEOLOCATION_LOCATION_ARBITRATOR_H_ | 5 #ifndef DEVICE_GEOLOCATION_LOCATION_ARBITRATOR_H_ |
6 #define DEVICE_GEOLOCATION_LOCATION_ARBITRATOR_H_ | 6 #define DEVICE_GEOLOCATION_LOCATION_ARBITRATOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/cancelable_callback.h" | 13 #include "base/cancelable_callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/scoped_vector.h" | |
16 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
17 #include "base/time/time.h" | 16 #include "base/time/time.h" |
18 #include "device/geolocation/access_token_store.h" | 17 #include "device/geolocation/access_token_store.h" |
19 #include "device/geolocation/geolocation_export.h" | 18 #include "device/geolocation/geolocation_export.h" |
20 #include "device/geolocation/geolocation_provider.h" | 19 #include "device/geolocation/geolocation_provider.h" |
21 #include "device/geolocation/geoposition.h" | 20 #include "device/geolocation/geoposition.h" |
22 #include "device/geolocation/location_provider.h" | 21 #include "device/geolocation/location_provider.h" |
23 #include "net/url_request/url_request_context_getter.h" | 22 #include "net/url_request/url_request_context_getter.h" |
24 | 23 |
25 namespace net { | 24 namespace net { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 DISALLOW_COPY_AND_ASSIGN(LocationArbitrator); | 117 DISALLOW_COPY_AND_ASSIGN(LocationArbitrator); |
119 }; | 118 }; |
120 | 119 |
121 // Factory functions for the various types of location provider to abstract | 120 // Factory functions for the various types of location provider to abstract |
122 // over the platform-dependent implementations. | 121 // over the platform-dependent implementations. |
123 std::unique_ptr<LocationProvider> NewSystemLocationProvider(); | 122 std::unique_ptr<LocationProvider> NewSystemLocationProvider(); |
124 | 123 |
125 } // namespace device | 124 } // namespace device |
126 | 125 |
127 #endif // DEVICE_GEOLOCATION_LOCATION_ARBITRATOR_H_ | 126 #endif // DEVICE_GEOLOCATION_LOCATION_ARBITRATOR_H_ |
OLD | NEW |