[new downloader] Removing unnecessary method GetCountyListToDownload.

This commit is contained in:
Vladimir Byko-Ianko 2016-02-24 15:06:21 +03:00 committed by Sergey Yershov
parent d98b185efb
commit 4d83bb1a32
2 changed files with 0 additions and 15 deletions

View file

@ -1188,15 +1188,6 @@ bool Storage::IsNodeDownloaded(TCountryId const & countryId) const
return false;
}
void Storage::GetCountyListToDownload(TCountriesVec & countryList) const
{
ASSERT_THREAD_CHECKER(m_threadChecker, ());
TCountriesVec countryIds;
GetChildren(GetRootId(), countryIds);
// @TODO(bykoianko) Implement this method. Remove from this method fully downloaded maps.
}
bool Storage::DownloadNode(TCountryId const & countryId)
{
ASSERT_THREAD_CHECKER(m_threadChecker, ());

View file

@ -260,12 +260,6 @@ public:
void GetChildrenInGroups(TCountryId const & parent,
TCountriesVec & downloadedChildren, TCountriesVec & availChildren) const;
/// \brief Gets list of available countries.
/// \param countryList is filled with a list of node id which an end user will see in
/// a list of available maps. They are all available countries expect for fully downloaded
/// countries. That means all mwm of the countries have been downloaded.
void GetCountyListToDownload(TCountriesVec & countryList) const;
/// \brief Returns current version for mwms which are available on the server.
inline int64_t GetCurrentDataVersion() const { return m_currentVersion; }