Index: chrome/browser/chromeos/gdata/gdata_upload_file_info.h |
=================================================================== |
--- chrome/browser/chromeos/gdata/gdata_upload_file_info.h (revision 129387) |
+++ chrome/browser/chromeos/gdata/gdata_upload_file_info.h (working copy) |
@@ -26,11 +26,6 @@ |
class DocumentEntry; |
-// Used for file operations like removing files. |
-typedef base::Callback<void(base::PlatformFileError error, |
- DocumentEntry* entry)> |
- UploadCompletionCallback; |
- |
// Structure containing current upload information of file, passed between |
// DocumentsService methods and callbacks. |
struct UploadFileInfo { |
@@ -72,7 +67,7 @@ |
int64 start_range; // Start of range of contents currently stored in |buf|. |
int64 end_range; // End of range of contents currently stored in |buf|. |
- bool all_bytes_present; // Whether this file has finished downloading. |
+ bool all_bytes_present; // Whether all bytes of this file are present. |
bool upload_paused; // Whether this file's upload has been paused. |
bool should_retry_file_open; // Whether we should retry opening this file. |
@@ -82,6 +77,8 @@ |
scoped_ptr<DocumentEntry> entry; |
// Callback to be invoked once the upload has completed. |
+ typedef base::Callback<void(base::PlatformFileError error, |
+ UploadFileInfo* upload_file_info)> UploadCompletionCallback; |
UploadCompletionCallback completion_callback; |
}; |