forked from organicmaps/organicmaps
[new downloader] Private functions were moved to the private section
This commit is contained in:
parent
c696d010e4
commit
7620ebf5a1
2 changed files with 3 additions and 4 deletions
|
@ -342,9 +342,6 @@ public:
|
|||
unique_ptr<Storage> m_prefetchStorage;
|
||||
void PrefetchMigrateData();
|
||||
|
||||
void SaveDownloadQueue();
|
||||
void RestoreDownloadQueue();
|
||||
|
||||
/// Delete local maps and aggregate their Id if needed
|
||||
void DeleteAllLocalMaps(TCountriesVec * existedCountries = nullptr);
|
||||
|
||||
|
@ -429,6 +426,9 @@ private:
|
|||
friend void UnitTest_StorageTest_DeleteCountrySingleMwm();
|
||||
friend void UnitTest_StorageTest_DeleteCountryTwoComponentsMwm();
|
||||
|
||||
void SaveDownloadQueue();
|
||||
void RestoreDownloadQueue();
|
||||
|
||||
Status CountryStatusWithoutFailed(TCountryId const & countryId) const;
|
||||
Status CountryStatusFull(TCountryId const & countryId, Status const status) const;
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ void InitStorage(Storage & storage, Storage::TProgressFunction const & onProgres
|
|||
{
|
||||
storage.Init(Update);
|
||||
storage.RegisterAllLocalMaps();
|
||||
storage.RestoreDownloadQueue();
|
||||
storage.Subscribe(bind(&ChangeCountry, ref(storage), _1), onProgressFn);
|
||||
storage.SetDownloadingUrlsForTesting({kTestWebServer});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue