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:
authorvng <viktor.govako@gmail.com>2012-06-30 04:09:24 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:25 +0300
commit117222c2068aa783263722a65b76f8c95d432143 (patch)
tree5ee1973ceb8bd83006b3b2dab9836c601f60344a /platform/http_thread_callback.hpp
parent65e502c38bac4fdf1c4738861aeaa8d09391a6e9 (diff)
[downloader] Handle exceptions correctly in downloader for FileWriter manipulations.
Diffstat (limited to 'platform/http_thread_callback.hpp')
-rw-r--r--platform/http_thread_callback.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/http_thread_callback.hpp b/platform/http_thread_callback.hpp
index da3e19810d..3b827bed35 100644
--- a/platform/http_thread_callback.hpp
+++ b/platform/http_thread_callback.hpp
@@ -8,7 +8,7 @@ namespace downloader
class IHttpThreadCallback
{
public:
- virtual void OnWrite(int64_t offset, void const * buffer, size_t size) = 0;
+ virtual bool OnWrite(int64_t offset, void const * buffer, size_t size) = 0;
virtual void OnFinish(long httpCode, int64_t begRange, int64_t endRange) = 0;
};