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

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: s/struct/class/ in forward declaration (caught by clang) 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 2b7b7807b4da1266d1bb953da3bbdc5c9b07bf48..070fa7718f69a685734624768f5d04ef599ca758 100644
--- a/chrome/browser/chromeos/gdata/gdata_system_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_system_service.h
@@ -20,6 +20,7 @@ namespace gdata {
class DocumentsServiceInterface;
class DriveWebAppsRegistry;
class GDataCache;
+class GDataContactsService;
class GDataDownloadObserver;
class GDataFileSystemInterface;
class GDataSyncClient;
@@ -33,19 +34,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:
@@ -76,6 +69,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);
};
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_operations.cc ('k') | chrome/browser/chromeos/gdata/gdata_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698