| Index: chrome/browser/geolocation/wifi_data_provider_win.cc
|
| diff --git a/chrome/browser/geolocation/wifi_data_provider_win.cc b/chrome/browser/geolocation/wifi_data_provider_win.cc
|
| index 2134d2244eec6038e7b1f281b06f1c41df030ee0..cfc2636b42850016cbcf1e2b98039dda4a1e7f50 100644
|
| --- a/chrome/browser/geolocation/wifi_data_provider_win.cc
|
| +++ b/chrome/browser/geolocation/wifi_data_provider_win.cc
|
| @@ -47,6 +47,7 @@ const int kStringLength = 512;
|
| const int kDefaultPollingInterval = 10000; // 10s
|
| const int kNoChangePollingInterval = 120000; // 2 mins
|
| const int kTwoNoChangePollingInterval = 600000; // 10 mins
|
| +const int kNoWifiPollingIntervalMilliseconds = 20 * 1000; // 20s
|
|
|
| // WlanOpenHandle
|
| typedef DWORD (WINAPI* WlanOpenHandleFunction)(DWORD dwClientVersion,
|
| @@ -175,7 +176,8 @@ WifiDataProviderCommon::WlanApiInterface* Win32WifiDataProvider::NewWlanApi() {
|
| PollingPolicyInterface* Win32WifiDataProvider::NewPollingPolicy() {
|
| return new GenericPollingPolicy<kDefaultPollingInterval,
|
| kNoChangePollingInterval,
|
| - kTwoNoChangePollingInterval>;
|
| + kTwoNoChangePollingInterval,
|
| + kNoWifiPollingIntervalMilliseconds>;
|
| }
|
|
|
| // Local classes and functions
|
|
|