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..3dbdfb714411a44f489e25f2786ff0851a0fc54a 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 bytes_read); |
// Maximum chunk size for read operations. |
scoped_ptr<storage::FileStreamReader> reader_; |
- ResultCallback callback_; |
scoped_refptr<net::IOBuffer> buffer_; |
base::MD5Context md5_context_; |