Index: chrome/browser/drive/drive_api_util.h |
diff --git a/chrome/browser/drive/drive_api_util.h b/chrome/browser/drive/drive_api_util.h |
index def11993edcc886c25819fae855615be04c9304d..dc8e1d756e7e2fbfe73679fc3fd6069ba00c4f54 100644 |
--- a/chrome/browser/drive/drive_api_util.h |
+++ b/chrome/browser/drive/drive_api_util.h |
@@ -92,13 +92,12 @@ class FileStreamMd5Digester { |
private: |
// Kicks off a read of the next chunk from the stream. |
- void ReadNextChunk(); |
+ void ReadNextChunk(const ResultCallback& callback); |
// Handles the incoming chunk of data from a stream read. |
- void OnChunkRead(int result); |
+ void OnChunkRead(const ResultCallback& callback, int bytesRead); |
mtomasz
2015/02/25 05:02:00
nit: bytes_read
Ben Kwa
2015/02/25 05:07:07
Gah, missed the header. Done.
|
// Maximum chunk size for read operations. |
scoped_ptr<storage::FileStreamReader> reader_; |
- ResultCallback callback_; |
scoped_refptr<net::IOBuffer> buffer_; |
base::MD5Context md5_context_; |