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

Unified Diff: chrome/browser/chromeos/drive/drive_scheduler.h

Issue 13448003: Narrow the ownership of DriveUploader from DriveSystemService to DriveScheduler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 9 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/drive/drive_scheduler.h
diff --git a/chrome/browser/chromeos/drive/drive_scheduler.h b/chrome/browser/chromeos/drive/drive_scheduler.h
index 7c93ce25e19c761041761bd3559d5542a9ef0586..b427e145f73c6303f1fb62c0c63add7311379d53 100644
--- a/chrome/browser/chromeos/drive/drive_scheduler.h
+++ b/chrome/browser/chromeos/drive/drive_scheduler.h
@@ -80,8 +80,7 @@ class DriveScheduler
};
DriveScheduler(Profile* profile,
- google_apis::DriveServiceInterface* drive_service,
- google_apis::DriveUploaderInterface* uploader);
+ google_apis::DriveServiceInterface* drive_service);
virtual ~DriveScheduler();
// Initializes the object. This function should be called before any
@@ -400,7 +399,7 @@ class DriveScheduler
std::list<QueueEntry*> queue_[NUM_QUEUES];
google_apis::DriveServiceInterface* drive_service_;
- google_apis::DriveUploaderInterface* uploader_;
+ scoped_ptr<google_apis::DriveUploaderInterface> uploader_;
Profile* profile_;
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system_unittest.cc ('k') | chrome/browser/chromeos/drive/drive_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698