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

Unified Diff: chrome/browser/chromeos/gdata/gdata_download_observer.cc

Issue 10540132: gdata: Convert GDataFileSystem::AddUploadFile() to asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to explain why Patch Set #11 is necesary. Created 8 years, 6 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_download_observer.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_download_observer.cc b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
index 11f11e145815a664cfe3657ca5936bf8f572efa8..4d4443690aaff2f7f21a26c3ede16468790f9023 100644
--- a/chrome/browser/chromeos/gdata/gdata_download_observer.cc
+++ b/chrome/browser/chromeos/gdata/gdata_download_observer.cc
@@ -376,9 +376,10 @@ scoped_ptr<UploadFileInfo> GDataDownloadObserver::CreateUploadFileInfo(
return upload_file_info.Pass();
}
-void GDataDownloadObserver::OnUploadComplete(int32 download_id,
- base::PlatformFileError error,
- UploadFileInfo* upload_file_info) {
+void GDataDownloadObserver::OnUploadComplete(
+ int32 download_id,
+ base::PlatformFileError error,
+ scoped_ptr<UploadFileInfo> upload_file_info) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DownloadMap::iterator iter = pending_downloads_.find(download_id);
if (iter == pending_downloads_.end()) {
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_download_observer.h ('k') | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698