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

Unified Diff: chrome/browser/google_apis/drive_uploader.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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/google_apis/drive_uploader.cc
diff --git a/chrome/browser/google_apis/drive_uploader.cc b/chrome/browser/google_apis/drive_uploader.cc
index 5de1d564465933c6caf97b621123699396c705e0..012b32a26ffc86705a4ae643a46258bcfe73cc15 100644
--- a/chrome/browser/google_apis/drive_uploader.cc
+++ b/chrome/browser/google_apis/drive_uploader.cc
@@ -281,7 +281,7 @@ void DriveUploader::OnUploadLocationReceived(
// PostTask is necessary because we have to finish
// InitiateUpload's callback before calling ResumeUpload, due to the
// implementation of OperationRegistry. (http://crbug.com/134814)
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&DriveUploader::UploadNextChunk,
weak_ptr_factory_.GetWeakPtr(),
@@ -386,7 +386,7 @@ void DriveUploader::OnUploadRangeResponseReceived(
// PostTask is necessary because we have to finish previous ResumeUpload's
// callback before calling ResumeUpload again, due to the implementation of
// OperationRegistry. (http://crbug.com/134814)
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&DriveUploader::UploadNextChunk,
weak_ptr_factory_.GetWeakPtr(),
« no previous file with comments | « chrome/browser/google_apis/drive_api_operations_unittest.cc ('k') | chrome/browser/google_apis/drive_uploader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698