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_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 | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "content/browser/geolocation/device_data_provider.h" | 11 #include "content/browser/geolocation/device_data_provider.h" |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 #include "net/url_request/url_fetcher_delegate.h" | 14 #include "net/url_request/url_fetcher_delegate.h" |
16 | 15 |
17 namespace content { | 16 namespace content { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 69 |
71 // Keep a copy of the data sent in the request, so we can refer back to it | 70 // Keep a copy of the data sent in the request, so we can refer back to it |
72 // when the response arrives. | 71 // when the response arrives. |
73 WifiData wifi_data_; | 72 WifiData wifi_data_; |
74 base::Time timestamp_; // Timestamp of the above data, not of the request. | 73 base::Time timestamp_; // Timestamp of the above data, not of the request. |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest); | 75 DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest); |
77 }; | 76 }; |
78 | 77 |
79 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ | 78 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ |
OLD | NEW |