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

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

Issue 10540132: gdata: Convert GDataFileSystem::AddUploadFile() to asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a possible NULL pointer due to base::Passed. 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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_download_observer.h b/chrome/browser/chromeos/gdata/gdata_download_observer.h
index e528c0ff87ff98df9145cf3d89b11f3e750fa801..576cbc93a69781cbe534edf65f225f4b1acbec86 100644
--- a/chrome/browser/chromeos/gdata/gdata_download_observer.h
+++ b/chrome/browser/chromeos/gdata/gdata_download_observer.h
@@ -118,7 +118,7 @@ class GDataDownloadObserver : public content::DownloadManager::Observer,
// method on the DownloadItem to allow it to complete.
void OnUploadComplete(int32 download_id,
base::PlatformFileError error,
- UploadFileInfo* upload_file_info);
+ scoped_ptr<UploadFileInfo> upload_file_info);
// Private data.
// Use GDataUploader to trigger file uploads.

Powered by Google App Engine
This is Rietveld 408576698