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

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

Issue 10546093: gdata: Move ownership of GDataCache to GDataSystemService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 8 years, 6 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 b97b2d2cadc7745793771da9f718f75a89934d17..1b3fc1db50a54869372344c0c45e0172296b8006 100644
--- a/chrome/browser/chromeos/gdata/gdata_system_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_system_service.h
@@ -31,6 +31,9 @@ class GDataSystemService : public ProfileKeyedService {
// Returns the documents service instance.
DocumentsServiceInterface* docs_service() { return documents_service_.get(); }
+ // Returns the cache instance.
+ GDataCache* cache() { return cache_.get(); }
+
// Returns the file system instance.
GDataFileSystem* file_system() { return file_system_.get(); }
@@ -54,6 +57,8 @@ class GDataSystemService : public ProfileKeyedService {
friend class GDataSystemServiceFactory;
Profile* profile_;
+ const base::SequencedWorkerPool::SequenceToken sequence_token_;
+ scoped_ptr<GDataCache> cache_;
scoped_ptr<DocumentsServiceInterface> documents_service_;
scoped_ptr<GDataFileSystem> file_system_;
scoped_ptr<GDataUploader> uploader_;

Powered by Google App Engine
This is Rietveld 408576698