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 #pragma once | |
8 | 7 |
9 #include <list> | 8 #include <list> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "base/string16.h" | 14 #include "base/string16.h" |
16 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
17 #include "content/browser/geolocation/device_data_provider.h" | 16 #include "content/browser/geolocation/device_data_provider.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 scoped_ptr<NetworkLocationRequest> request_; | 124 scoped_ptr<NetworkLocationRequest> request_; |
126 | 125 |
127 base::WeakPtrFactory<NetworkLocationProvider> weak_factory_; | 126 base::WeakPtrFactory<NetworkLocationProvider> weak_factory_; |
128 // The cache of positions. | 127 // The cache of positions. |
129 scoped_ptr<PositionCache> position_cache_; | 128 scoped_ptr<PositionCache> position_cache_; |
130 | 129 |
131 DISALLOW_COPY_AND_ASSIGN(NetworkLocationProvider); | 130 DISALLOW_COPY_AND_ASSIGN(NetworkLocationProvider); |
132 }; | 131 }; |
133 | 132 |
134 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ | 133 #endif // CONTENT_BROWSER_GEOLOCATION_NETWORK_LOCATION_PROVIDER_H_ |
OLD | NEW |