From 139320a7924717ad11ce381c7c5f6a318dc7a76c Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Fri, 26 Aug 2016 19:01:29 +0300 Subject: [PATCH] Fix build. --- .../downloader_search_test.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/search/search_integration_tests/downloader_search_test.cpp b/search/search_integration_tests/downloader_search_test.cpp index a17b1e75b0..ab819260e3 100644 --- a/search/search_integration_tests/downloader_search_test.cpp +++ b/search/search_integration_tests/downloader_search_test.cpp @@ -10,7 +10,7 @@ #include "search/search_tests_support/test_search_request.hpp" #include "storage/downloader_search_params.hpp" -#include "storage/http_map_files_downloader.hpp" +#include "storage/map_files_downloader.hpp" #include "storage/storage.hpp" #include "geometry/rect2d.hpp" @@ -73,7 +73,7 @@ string const kCountriesTxt = R"({ } ]})"; -class TestMapFilesDownloader : public storage::HttpMapFilesDownloader +class TestMapFilesDownloader : public storage::MapFilesDownloader { public: // MapFilesDownloader overrides: @@ -81,6 +81,18 @@ public: TServersListCallback const & callback) override { } + + void DownloadMapFile(vector const & urls, string const & path, int64_t size, + TFileDownloadedCallback const & onDownloaded, + TDownloadingProgressCallback const & onProgress) override + { + } + + TProgress GetDownloadingProgress() override { return TProgress{}; } + + bool IsIdle() override { return false; } + + void Reset() override {} }; class TestDelegate : public DownloaderSearchCallback::Delegate