diff options
author | vng <viktor.govako@gmail.com> | 2012-06-30 04:09:24 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:25 +0300 |
commit | 117222c2068aa783263722a65b76f8c95d432143 (patch) | |
tree | 5ee1973ceb8bd83006b3b2dab9836c601f60344a /platform/http_thread_callback.hpp | |
parent | 65e502c38bac4fdf1c4738861aeaa8d09391a6e9 (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.hpp | 2 |
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; }; |