Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Yershov <yershov@corp.mail.ru>2016-04-27 17:38:07 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-05-12 09:57:20 +0300
commitaac681e5307e6f5c98f1c14c5017854644a23910 (patch)
treeba9d9425d92147614fd0824e5a228b7148acad2b /storage/downloading_policy.cpp
parent64b7d04a2d95f8a6953b00e51a8c7e5b06ec4b3a (diff)
[downloader] Refactor logic for disable downloading on cellular network and retry download on lost connection
Diffstat (limited to 'storage/downloading_policy.cpp')
-rw-r--r--storage/downloading_policy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/downloading_policy.cpp b/storage/downloading_policy.cpp
index a51567f178..6903a778d1 100644
--- a/storage/downloading_policy.cpp
+++ b/storage/downloading_policy.cpp
@@ -8,8 +8,8 @@ bool StorageDownloadingPolicy::IsDownloadingAllowed() const
!IsCellularDownloadEnabled());
}
-void StorageDownloadingPolicy::ScheduleRetry(
- storage::TCountriesSet const & failedCountries, TProcessFunc const & func)
+void StorageDownloadingPolicy::ScheduleRetry(storage::TCountriesSet const & failedCountries,
+ TProcessFunc const & func)
{
if (IsDownloadingAllowed() && !failedCountries.empty() && m_autoRetryCounter > 0)
{