diff options
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_upload_file_info.h')
-rw-r--r-- | chrome/browser/chromeos/gdata/gdata_upload_file_info.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_upload_file_info.h b/chrome/browser/chromeos/gdata/gdata_upload_file_info.h index 1d5e2b7..42b2772 100644 --- a/chrome/browser/chromeos/gdata/gdata_upload_file_info.h +++ b/chrome/browser/chromeos/gdata/gdata_upload_file_info.h @@ -26,11 +26,14 @@ namespace gdata { 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 { - typedef base::Closure UploadFileCallback; - UploadFileInfo(); ~UploadFileInfo(); @@ -79,7 +82,7 @@ struct UploadFileInfo { scoped_ptr<DocumentEntry> entry; // Callback to be invoked once the upload has completed. - UploadFileCallback completion_callback; + UploadCompletionCallback completion_callback; }; } // namespace gdata |