| Index: content/browser/geolocation/network_location_provider.cc
|
| diff --git a/content/browser/geolocation/network_location_provider.cc b/content/browser/geolocation/network_location_provider.cc
|
| index d4c83fe35fb14fdeb69eb89c34ec0c9068841ad4..9d6c0e7e3ef23c4dc600f0a17f928935cc8730d3 100644
|
| --- a/content/browser/geolocation/network_location_provider.cc
|
| +++ b/content/browser/geolocation/network_location_provider.cc
|
| @@ -14,7 +14,7 @@ using content::AccessTokenStore;
|
| namespace {
|
| // The maximum period of time we'll wait for a complete set of device data
|
| // before sending the request.
|
| -const int kDataCompleteWaitPeriod = 1000 * 2; // 2 seconds
|
| +const int kDataCompleteWaitSeconds = 2;
|
| } // namespace
|
|
|
| // static
|
| @@ -213,7 +213,7 @@ bool NetworkLocationProvider::StartProvider(bool high_accuracy) {
|
| FROM_HERE,
|
| base::Bind(&NetworkLocationProvider::RequestPosition,
|
| weak_factory_.GetWeakPtr()),
|
| - kDataCompleteWaitPeriod);
|
| + base::TimeDelta::FromSeconds(kDataCompleteWaitSeconds));
|
| // Get the device data.
|
| is_radio_data_complete_ = radio_data_provider_->GetData(&radio_data_);
|
| is_wifi_data_complete_ = wifi_data_provider_->GetData(&wifi_data_);
|
|
|