OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_REQUEST_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ |
6 #define CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "chrome/common/net/url_fetcher.h" | |
15 #include "content/browser/geolocation/device_data_provider.h" | 14 #include "content/browser/geolocation/device_data_provider.h" |
| 15 #include "content/common/url_fetcher.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 | 17 |
18 class URLFetcher; | 18 class URLFetcher; |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 class URLRequestContextGetter; | 21 class URLRequestContextGetter; |
22 } | 22 } |
23 | 23 |
24 struct Geoposition; | 24 struct Geoposition; |
25 struct Position; | 25 struct Position; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // when the response arrives. | 83 // when the response arrives. |
84 GatewayData gateway_data_; | 84 GatewayData gateway_data_; |
85 RadioData radio_data_; | 85 RadioData radio_data_; |
86 WifiData wifi_data_; | 86 WifiData wifi_data_; |
87 base::Time timestamp_; // Timestamp of the above data, not of the request. | 87 base::Time timestamp_; // Timestamp of the above data, not of the request. |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest); | 89 DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest); |
90 }; | 90 }; |
91 | 91 |
92 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ | 92 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ |
OLD | NEW |