| Index: chrome/browser/chromeos/gdata/gdata_system_service.cc
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_system_service.cc b/chrome/browser/chromeos/gdata/gdata_system_service.cc
|
| index 98bc1ea74788519a7325a40141742db90b442663..c76c577e296a80efd1be7189c948ceed29f5340a 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_system_service.cc
|
| +++ b/chrome/browser/chromeos/gdata/gdata_system_service.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/bind_helpers.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h"
|
| +#include "chrome/browser/chromeos/gdata/gdata_contacts_service.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_documents_service.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_download_observer.h"
|
| #include "chrome/browser/chromeos/gdata/gdata_file_system.h"
|
| @@ -76,6 +77,7 @@ void GDataSystemService::Initialize(
|
| download_observer_.reset(new GDataDownloadObserver(uploader(),
|
| file_system()));
|
| sync_client_.reset(new GDataSyncClient(profile_, file_system(), cache()));
|
| + contacts_service_.reset(new GDataContactsService(profile_));
|
|
|
| sync_client_->Initialize();
|
| file_system_->Initialize();
|
| @@ -90,6 +92,7 @@ void GDataSystemService::Initialize(
|
| GDataCache::CACHE_TYPE_TMP_DOWNLOADS));
|
|
|
| AddDriveMountPoint();
|
| + contacts_service_->Initialize();
|
| }
|
|
|
| void GDataSystemService::Shutdown() {
|
| @@ -97,6 +100,7 @@ void GDataSystemService::Shutdown() {
|
| RemoveDriveMountPoint();
|
|
|
| // Shut down the member objects in the reverse order of creation.
|
| + contacts_service_.reset();
|
| sync_client_.reset();
|
| download_observer_.reset();
|
| file_system_.reset();
|
|
|