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

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

Issue 6677096: Move a bunch of files from chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "chrome/common/geoposition.h"
18 #include "content/browser/geolocation/device_data_provider.h" 17 #include "content/browser/geolocation/device_data_provider.h"
19 #include "content/browser/geolocation/location_provider.h" 18 #include "content/browser/geolocation/location_provider.h"
20 #include "content/browser/geolocation/network_location_request.h" 19 #include "content/browser/geolocation/network_location_request.h"
20 #include "content/common/geoposition.h"
21 21
22 class URLFetcherProtectEntry; 22 class URLFetcherProtectEntry;
23 23
24 class NetworkLocationProvider 24 class NetworkLocationProvider
25 : public LocationProviderBase, 25 : public LocationProviderBase,
26 public GatewayDataProvider::ListenerInterface, 26 public GatewayDataProvider::ListenerInterface,
27 public RadioDataProvider::ListenerInterface, 27 public RadioDataProvider::ListenerInterface,
28 public WifiDataProvider::ListenerInterface, 28 public WifiDataProvider::ListenerInterface,
29 public NetworkLocationRequest::ListenerInterface { 29 public NetworkLocationRequest::ListenerInterface {
30 public: 30 public:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 scoped_ptr<NetworkLocationRequest> request_; 136 scoped_ptr<NetworkLocationRequest> request_;
137 137
138 ScopedRunnableMethodFactory<NetworkLocationProvider> delayed_start_task_; 138 ScopedRunnableMethodFactory<NetworkLocationProvider> delayed_start_task_;
139 // The cache of positions. 139 // The cache of positions.
140 scoped_ptr<PositionCache> position_cache_; 140 scoped_ptr<PositionCache> position_cache_;
141 141
142 DISALLOW_COPY_AND_ASSIGN(NetworkLocationProvider); 142 DISALLOW_COPY_AND_ASSIGN(NetworkLocationProvider);
143 }; 143 };
144 144
145 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ 145 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/mock_location_provider.h ('k') | content/browser/geolocation/network_location_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698