Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: content/browser/geolocation/network_location_request.h

Issue 10535157: [WIP] attempt to allow chrome OS to inject its wifi data provider (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_radio
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/browser/geolocation/device_data_provider.h" 12 #include "content/browser/geolocation/wifi_data_provider.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "net/url_request/url_fetcher_delegate.h" 15 #include "net/url_request/url_fetcher_delegate.h"
16 16
17 namespace content { 17 namespace content {
18 struct Geoposition; 18 struct Geoposition;
19 } 19 }
20 20
21 namespace net { 21 namespace net {
22 class URLFetcher; 22 class URLFetcher;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Keep a copy of the data sent in the request, so we can refer back to it 71 // Keep a copy of the data sent in the request, so we can refer back to it
72 // when the response arrives. 72 // when the response arrives.
73 WifiData wifi_data_; 73 WifiData wifi_data_;
74 base::Time timestamp_; // Timestamp of the above data, not of the request. 74 base::Time timestamp_; // Timestamp of the above data, not of the request.
75 75
76 DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest); 76 DISALLOW_COPY_AND_ASSIGN(NetworkLocationRequest);
77 }; 77 };
78 78
79 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_ 79 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_REQUEST_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/network_location_provider_unittest.cc ('k') | content/browser/geolocation/wifi_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698