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_LOCATION_ARBITRATOR_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ |
6 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
10 #include "base/string16.h" | 9 #include "base/string16.h" |
11 #include "base/time.h" | 10 #include "base/time.h" |
12 #include "content/browser/geolocation/location_provider.h" | 11 #include "content/browser/geolocation/location_provider.h" |
13 #include "content/browser/geolocation/geolocation_observer.h" | 12 #include "content/browser/geolocation/geolocation_observer.h" |
14 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
15 #include "content/public/browser/access_token_store.h" | 14 #include "content/public/browser/access_token_store.h" |
16 #include "content/public/common/geoposition.h" | 15 #include "content/public/common/geoposition.h" |
17 #include "net/url_request/url_request_context_getter.h" | 16 #include "net/url_request/url_request_context_getter.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // The provider which supplied the current |position_| | 94 // The provider which supplied the current |position_| |
96 const LocationProviderBase* position_provider_; | 95 const LocationProviderBase* position_provider_; |
97 bool is_permission_granted_; | 96 bool is_permission_granted_; |
98 // The current best estimate of our position. | 97 // The current best estimate of our position. |
99 content::Geoposition position_; | 98 content::Geoposition position_; |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(GeolocationArbitrator); | 100 DISALLOW_COPY_AND_ASSIGN(GeolocationArbitrator); |
102 }; | 101 }; |
103 | 102 |
104 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ | 103 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_ARBITRATOR_H_ |
OLD | NEW |