[new downloader] Private functions were moved to the private section

This commit is contained in:
Constantin Shalnev 2016-02-18 13:01:56 +03:00 committed by Sergey Yershov
parent c696d010e4
commit 7620ebf5a1
2 changed files with 3 additions and 4 deletions

View file

@ -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;

View file

@ -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});
}