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

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

Issue 14348013: Remove legacy in DriveSyncClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix + alpha 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 | « chrome/browser/chromeos/drive/drive_sync_client_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1ef760612540b24f2377ce57f78e0caf96ccca1d..ae0d051fc0f0ec9aebd95ab4cff898954a48f3c2 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service.cc
@@ -8,6 +8,7 @@
#include "base/command_line.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/chromeos/drive/drive_cache.h"
#include "chrome/browser/chromeos/drive/drive_download_handler.h"
#include "chrome/browser/chromeos/drive/drive_file_system.h"
#include "chrome/browser/chromeos/drive/drive_file_system_proxy.h"
@@ -151,7 +152,7 @@ DriveSystemService::DriveSystemService(
file_write_helper_.reset(new FileWriteHelper(file_system()));
download_handler_.reset(new DriveDownloadHandler(file_write_helper(),
file_system()));
- sync_client_.reset(new DriveSyncClient(profile_, file_system(), cache()));
+ sync_client_.reset(new DriveSyncClient(file_system(), cache()));
prefetcher_.reset(new DrivePrefetcher(file_system(),
event_logger(),
DrivePrefetcherOptions()));
@@ -165,7 +166,6 @@ DriveSystemService::~DriveSystemService() {
void DriveSystemService::Initialize() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- sync_client_->Initialize();
drive_service_->Initialize(profile_);
file_system_->Initialize();
cache_->RequestInitialize(
« no previous file with comments | « chrome/browser/chromeos/drive/drive_sync_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698