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 CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ |
6 #define CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
16 #include "content/browser/geolocation/device_data_provider.h" | 16 #include "content/browser/geolocation/device_data_provider.h" |
17 #include "content/browser/geolocation/location_provider.h" | 17 #include "content/browser/geolocation/location_provider.h" |
18 #include "content/browser/geolocation/network_location_request.h" | 18 #include "content/browser/geolocation/network_location_request.h" |
19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
20 #include "content/public/common/geoposition.h" | 20 #include "content/public/common/geoposition.h" |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class AccessTokenStore; | 23 class AccessTokenStore; |
24 | 24 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 base::WeakPtrFactory<NetworkLocationProvider> weak_factory_; | 126 base::WeakPtrFactory<NetworkLocationProvider> weak_factory_; |
127 // The cache of positions. | 127 // The cache of positions. |
128 scoped_ptr<PositionCache> position_cache_; | 128 scoped_ptr<PositionCache> position_cache_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(NetworkLocationProvider); | 130 DISALLOW_COPY_AND_ASSIGN(NetworkLocationProvider); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace content | 133 } // namespace content |
134 | 134 |
135 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ | 135 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ |
OLD | NEW |