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

Unified Diff: chrome/browser/chromeos/drive/drive_system_service.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_system_service.h
diff --git a/chrome/browser/chromeos/drive/drive_system_service.h b/chrome/browser/chromeos/drive/drive_system_service.h
index 286711acb1f54d57bb84848d3e6d6bd44c60bc59..3bd6a0d4f702cf2cd870a4ff78a8c8f0161aa553 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.h
+++ b/chrome/browser/chromeos/drive/drive_system_service.h
@@ -24,7 +24,6 @@ class FilePath;
namespace google_apis {
class DriveServiceInterface;
-class DriveUploader;
}
namespace drive {
@@ -74,7 +73,6 @@ class DriveSystemService : public ProfileKeyedService,
DriveFileSystemInterface* file_system() { return file_system_.get(); }
FileWriteHelper* file_write_helper() { return file_write_helper_.get(); }
DriveDownloadHandler* download_handler() { return download_handler_.get(); }
- google_apis::DriveUploader* uploader() { return uploader_.get(); }
DriveWebAppsRegistry* webapps_registry() { return webapps_registry_.get(); }
EventLogger* event_logger() { return event_logger_.get(); }
@@ -141,7 +139,6 @@ class DriveSystemService : public ProfileKeyedService,
scoped_ptr<EventLogger> event_logger_;
scoped_ptr<DriveCache, util::DestroyHelper> cache_;
scoped_ptr<google_apis::DriveServiceInterface> drive_service_;
- scoped_ptr<google_apis::DriveUploader> uploader_;
scoped_ptr<DriveWebAppsRegistry> webapps_registry_;
scoped_ptr<DriveResourceMetadata, util::DestroyHelper> resource_metadata_;
scoped_ptr<DriveFileSystemInterface> file_system_;
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler_unittest.cc ('k') | chrome/browser/chromeos/drive/drive_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698