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

Unified Diff: chrome/browser/chromeos/gdata/gdata_system_service.cc

Issue 10882017: contacts: Make GoogleContactStore own GDataContactsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/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 ac0049ba5bc04db9cc92b61041f188c654bf65fd..191b3005b7866aeb3a26537436118e4312363c1e 100644
--- a/chrome/browser/chromeos/gdata/gdata_system_service.cc
+++ b/chrome/browser/chromeos/gdata/gdata_system_service.cc
@@ -10,7 +10,6 @@
#include "chrome/browser/chromeos/gdata/drive_api_service.h"
#include "chrome/browser/chromeos/gdata/drive_webapps_registry.h"
#include "chrome/browser/chromeos/gdata/file_write_helper.h"
-#include "chrome/browser/chromeos/gdata/gdata_contacts_service.h"
#include "chrome/browser/chromeos/gdata/gdata_download_observer.h"
#include "chrome/browser/chromeos/gdata/gdata_file_system.h"
#include "chrome/browser/chromeos/gdata/gdata_file_system_proxy.h"
@@ -75,7 +74,6 @@ 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,7 +88,6 @@ void GDataSystemService::Initialize(
DriveCache::CACHE_TYPE_TMP_DOWNLOADS));
AddDriveMountPoint();
- contacts_service_->Initialize();
}
void GDataSystemService::Shutdown() {
@@ -98,7 +95,6 @@ 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_write_helper_.reset();

Powered by Google App Engine
This is Rietveld 408576698