| Index: chrome/browser/chromeos/gdata/drive_system_service.cc
|
| diff --git a/chrome/browser/chromeos/gdata/drive_system_service.cc b/chrome/browser/chromeos/gdata/drive_system_service.cc
|
| index 3099728c309bc535cda5432d1bdd8251ab218bd2..27a6be51e1ca4323cabaa2d4678923d76fe63784 100644
|
| --- a/chrome/browser/chromeos/gdata/drive_system_service.cc
|
| +++ b/chrome/browser/chromeos/gdata/drive_system_service.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/chromeos/gdata/gdata_uploader.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_util.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_wapi_service.h"
|
| +#include "chrome/browser/chromeos/gdata/stale_cache_files_remover.h"
|
| #include "chrome/browser/download/download_service.h"
|
| #include "chrome/browser/download/download_service_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -74,6 +75,8 @@ void DriveSystemService::Initialize(
|
| download_observer_.reset(new GDataDownloadObserver(uploader(),
|
| file_system()));
|
| sync_client_.reset(new GDataSyncClient(profile_, file_system(), cache()));
|
| + stale_cache_files_remover_.reset(new StaleCacheFilesRemover(file_system(),
|
| + cache()));
|
|
|
| sync_client_->Initialize();
|
| file_system_->Initialize();
|
| @@ -95,6 +98,7 @@ void DriveSystemService::Shutdown() {
|
| RemoveDriveMountPoint();
|
|
|
| // Shut down the member objects in the reverse order of creation.
|
| + stale_cache_files_remover_.reset();
|
| sync_client_.reset();
|
| download_observer_.reset();
|
| file_write_helper_.reset();
|
|
|