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_GEOLOCATION_PROVIDER_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PROVIDER_H_ |
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PROVIDER_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PROVIDER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
15 #include "content/browser/geolocation/geolocation_observer.h" | 14 #include "content/browser/geolocation/geolocation_observer.h" |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 #include "content/public/browser/geolocation.h" | 16 #include "content/public/browser/geolocation.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // True only in testing, where we want to use a custom position. | 115 // True only in testing, where we want to use a custom position. |
117 bool ignore_location_updates_; | 116 bool ignore_location_updates_; |
118 | 117 |
119 // Only to be used on the geolocation thread. | 118 // Only to be used on the geolocation thread. |
120 GeolocationArbitrator* arbitrator_; | 119 GeolocationArbitrator* arbitrator_; |
121 | 120 |
122 DISALLOW_COPY_AND_ASSIGN(GeolocationProvider); | 121 DISALLOW_COPY_AND_ASSIGN(GeolocationProvider); |
123 }; | 122 }; |
124 | 123 |
125 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PROVIDER_H_ | 124 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_PROVIDER_H_ |
OLD | NEW |