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

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

Issue 14118006: Change owner of DriveScheduler from DriveFileSystem to DriveSystemService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_file_system.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system.h b/chrome/browser/chromeos/drive/drive_file_system.h
index 41543361ad214c3411c57dab0d0933b1c7346f32..32a17715e37ee3145f5b2b6f101890d23d8a3625 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.h
+++ b/chrome/browser/chromeos/drive/drive_file_system.h
@@ -57,6 +57,7 @@ class DriveFileSystem : public DriveFileSystemInterface,
DriveFileSystem(Profile* profile,
DriveCache* cache,
google_apis::DriveServiceInterface* drive_service,
+ DriveScheduler* scheduler,
DriveWebAppsRegistry* webapps_registry,
DriveResourceMetadata* resource_metadata,
base::SequencedTaskRunner* blocking_task_runner);
@@ -451,15 +452,11 @@ class DriveFileSystem : public DriveFileSystemInterface,
// The profile hosts the DriveFileSystem via DriveSystemService.
Profile* profile_;
- // The cache owned by DriveSystemService.
+ // Sub components owned by DriveSystemService.
DriveCache* cache_;
-
- // The document service owned by DriveSystemService.
google_apis::DriveServiceInterface* drive_service_;
-
- // The webapps registry owned by DriveSystemService.
+ DriveScheduler* scheduler_;
DriveWebAppsRegistry* webapps_registry_;
-
DriveResourceMetadata* resource_metadata_;
// Time of the last update check.
@@ -485,8 +482,6 @@ class DriveFileSystem : public DriveFileSystemInterface,
file_system::DriveOperations drive_operations_;
- scoped_ptr<DriveScheduler> scheduler_;
-
// Polling interval for checking updates in seconds.
int polling_interval_sec_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698