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

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

Issue 511323002: Manual fixups in drive code for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 4 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
« no previous file with comments | « chrome/browser/drive/drive_uploader.h ('k') | google_apis/drive/request_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_uploader.cc
diff --git a/chrome/browser/drive/drive_uploader.cc b/chrome/browser/drive/drive_uploader.cc
index 2bae3039e0cf2e8531201f111b4824049f27f854..09c513740e8e6572a343099907eb304059e43cf7 100644
--- a/chrome/browser/drive/drive_uploader.cc
+++ b/chrome/browser/drive/drive_uploader.cc
@@ -124,8 +124,9 @@ struct DriveUploader::UploadFileInfo {
DISALLOW_COPY_AND_ASSIGN(UploadFileInfo);
};
-DriveUploader::DriveUploader(DriveServiceInterface* drive_service,
- base::TaskRunner* blocking_task_runner)
+DriveUploader::DriveUploader(
+ DriveServiceInterface* drive_service,
+ const scoped_refptr<base::TaskRunner>& blocking_task_runner)
: drive_service_(drive_service),
blocking_task_runner_(blocking_task_runner),
weak_ptr_factory_(this) {
« no previous file with comments | « chrome/browser/drive/drive_uploader.h ('k') | google_apis/drive/request_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698