Chromium Code Reviews| Index: components/google/core/browser/google_url_tracker.cc |
| diff --git a/components/google/core/browser/google_url_tracker.cc b/components/google/core/browser/google_url_tracker.cc |
| index 0864f6a73dabbb00eda6c5d0adc39e35ef8dae73..531d24c924f23b77b8f44daec785e8dbee5209bd 100644 |
| --- a/components/google/core/browser/google_url_tracker.cc |
| +++ b/components/google/core/browser/google_url_tracker.cc |
| @@ -245,6 +245,10 @@ void GoogleURLTracker::StartFetchIfDesirable() { |
| // Configure to max_retries at most kMaxRetries times for 5xx errors. |
| static const int kMaxRetries = 5; |
| fetcher_->SetMaxRetriesOn5xx(kMaxRetries); |
| +#if defined(OS_ANDROID) |
| + // Configure to max_retries at most kMaxRetries times for network changes. |
| + fetcher_->SetAutomaticallyRetryOnNetworkChanges(kMaxRetries); |
|
Peter Kasting
2014/08/27 19:52:46
Let me understand this. When the network changes,
Jaekyun Seok (inactive)
2014/08/28 02:00:52
Yes, that is correctly what happened on clank.
I c
Peter Kasting
2014/08/28 03:28:19
Hmm. Here are two ideas for a possible better fix
|
| +#endif |
| fetcher_->Start(); |
| } |