summaryrefslogtreecommitdiff
path: root/chromium/device/geolocation/location_arbitrator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/device/geolocation/location_arbitrator.h')
-rw-r--r--chromium/device/geolocation/location_arbitrator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/device/geolocation/location_arbitrator.h b/chromium/device/geolocation/location_arbitrator.h
index 6f6684f42ef..72a8ed5f03c 100644
--- a/chromium/device/geolocation/location_arbitrator.h
+++ b/chromium/device/geolocation/location_arbitrator.h
@@ -21,6 +21,8 @@
#include "device/geolocation/location_provider.h"
#include "net/url_request/url_request_context_getter.h"
+#include <set>
+
namespace net {
class URLRequestContextGetter;
}
@@ -115,6 +117,9 @@ class DEVICE_GEOLOCATION_EXPORT LocationArbitrator : public LocationProvider {
// The current best estimate of our position.
Geoposition position_;
+ // Used to track if all providers had a chance to provide a location.
+ std::set<const LocationProvider*> providers_polled_;
+
// Tracks whether providers should be running.
bool is_running_;