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

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

Issue 10196007: gdata: Get rid of GetProgressStatusList() and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_uploader.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_uploader.cc b/chrome/browser/chromeos/gdata/gdata_uploader.cc
index 343af9f4f3d9539805b8d04b1df84308f6822b2b..8ff25d66c201079dedcd752539e3ec4b9497fcec 100644
--- a/chrome/browser/chromeos/gdata/gdata_uploader.cc
+++ b/chrome/browser/chromeos/gdata/gdata_uploader.cc
@@ -368,7 +368,8 @@ void GDataUploader::UploadFailed(UploadFileInfo* upload_file_info) {
upload_file_info->completion_callback.Run(base::PLATFORM_FILE_ERROR_ABORT,
upload_file_info);
}
- file_system_->CancelOperation(upload_file_info->gdata_path);
+ file_system_->GetOperationRegistry()->CancelForFilePath(
+ upload_file_info->gdata_path);
DeleteUpload(upload_file_info);
}

Powered by Google App Engine
This is Rietveld 408576698