Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: chrome/browser/chromeos/gdata/gdata_upload_file_info.h

Issue 9844006: GData downloads cleanup (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: asanka review feedback Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_system_service.cc ('k') | chrome/browser/chromeos/gdata/gdata_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698