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

Unified Diff: chrome/browser/chromeos/drive/drive_system_service.cc

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
Index: chrome/browser/chromeos/drive/drive_system_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_system_service.cc b/chrome/browser/chromeos/drive/drive_system_service.cc
index a5095ff3753c892cceeba7aa4e6b0a4b5d54ea7a..1ef760612540b24f2377ce57f78e0caf96ccca1d 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service.cc
@@ -127,6 +127,7 @@ DriveSystemService::DriveSystemService(
GURL(google_apis::GDataWapiUrlGenerator::kBaseUrlForProduction),
GetDriveUserAgent()));
}
+ scheduler_.reset(new DriveScheduler(profile_, drive_service_.get()));
cache_.reset(new DriveCache(!test_cache_root.empty() ? test_cache_root :
DriveCache::GetCacheRootPath(profile),
blocking_task_runner_,
@@ -143,6 +144,7 @@ DriveSystemService::DriveSystemService(
new DriveFileSystem(profile_,
cache(),
drive_service_.get(),
+ scheduler_.get(),
webapps_registry(),
resource_metadata_.get(),
blocking_task_runner_));

Powered by Google App Engine
This is Rietveld 408576698