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 <stddef.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 #include <map> | 11 #include <map> |
10 | 12 |
11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
15 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
16 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
17 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
18 #include "content/browser/geolocation/location_provider_base.h" | 20 #include "content/browser/geolocation/location_provider_base.h" |
19 #include "content/browser/geolocation/network_location_request.h" | 21 #include "content/browser/geolocation/network_location_request.h" |
20 #include "content/browser/geolocation/wifi_data_provider_manager.h" | 22 #include "content/browser/geolocation/wifi_data_provider_manager.h" |
21 #include "content/common/content_export.h" | 23 #include "content/common/content_export.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // over the platform-dependent implementations. | 138 // over the platform-dependent implementations. |
137 CONTENT_EXPORT LocationProviderBase* NewNetworkLocationProvider( | 139 CONTENT_EXPORT LocationProviderBase* NewNetworkLocationProvider( |
138 AccessTokenStore* access_token_store, | 140 AccessTokenStore* access_token_store, |
139 net::URLRequestContextGetter* context, | 141 net::URLRequestContextGetter* context, |
140 const GURL& url, | 142 const GURL& url, |
141 const base::string16& access_token); | 143 const base::string16& access_token); |
142 | 144 |
143 } // namespace content | 145 } // namespace content |
144 | 146 |
145 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ | 147 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ |
OLD | NEW |