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

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

Issue 10818017: contacts: Add GDataContactsService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: apply review feedback Created 8 years, 5 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.h
diff --git a/chrome/browser/chromeos/gdata/gdata_system_service.h b/chrome/browser/chromeos/gdata/gdata_system_service.h
index e604caee67da3d801e491e91c6eae60ce5f9f925..a8b32a3bb7c4917e30b001b438acc444f91e3188 100644
--- a/chrome/browser/chromeos/gdata/gdata_system_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_system_service.h
@@ -18,6 +18,7 @@ namespace gdata {
class DocumentsServiceInterface;
class DriveWebAppsRegistry;
class GDataCache;
+class GDataContactsService;
class GDataDownloadObserver;
class GDataFileSystemInterface;
class GDataSyncClient;
@@ -31,19 +32,11 @@ class GDataUploader;
// created per-profile.
class GDataSystemService : public ProfileKeyedService {
public:
- // Returns the documents service instance.
DocumentsServiceInterface* docs_service() { return documents_service_.get(); }
-
- // Returns the cache instance.
GDataCache* cache() { return cache_; }
-
- // Returns the file system instance.
GDataFileSystemInterface* file_system() { return file_system_.get(); }
-
- // Returns the uploader instance.
GDataUploader* uploader() { return uploader_.get(); }
-
- // Returns the file system instance.
+ GDataContactsService* contacts_service() { return contacts_service_.get(); }
DriveWebAppsRegistry* webapps_registry() { return webapps_registry_.get(); }
// ProfileKeyedService override:
@@ -74,6 +67,7 @@ class GDataSystemService : public ProfileKeyedService {
scoped_ptr<GDataFileSystemInterface> file_system_;
scoped_ptr<GDataDownloadObserver> download_observer_;
scoped_ptr<GDataSyncClient> sync_client_;
+ scoped_ptr<GDataContactsService> contacts_service_;
DISALLOW_COPY_AND_ASSIGN(GDataSystemService);
};

Powered by Google App Engine
This is Rietveld 408576698