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

Unified Diff: chrome/browser/sync/glue/shared_change_processor.h

Issue 23129007: sync: Add GetAllSyncData to sync/api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 7 years, 3 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/sync/glue/shared_change_processor.h
diff --git a/chrome/browser/sync/glue/shared_change_processor.h b/chrome/browser/sync/glue/shared_change_processor.h
index b6afe772020c9c498b5ee9d75b666a413ca95932..dccac666f096881f794006bd0117acd74bc907f5 100644
--- a/chrome/browser/sync/glue/shared_change_processor.h
+++ b/chrome/browser/sync/glue/shared_change_processor.h
@@ -25,7 +25,7 @@ class SyncData;
class SyncableService;
typedef std::vector<syncer::SyncData> SyncDataList;
-} // namespace
+} // namespace syncer
namespace browser_sync {
@@ -79,12 +79,14 @@ class SharedChangeProcessor
// GenericChangeProcessor stubs (with disconnect support).
// Should only be called on the same thread the datatype resides.
- virtual syncer::SyncError GetSyncData(
- syncer::SyncDataList* current_sync_data);
virtual int GetSyncCount();
virtual syncer::SyncError ProcessSyncChanges(
const tracked_objects::Location& from_here,
const syncer::SyncChangeList& change_list);
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const;
+ virtual syncer::SyncError GetAllSyncDataReturnError(
+ syncer::ModelType type,
+ syncer::SyncDataList* data) const;
virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
virtual bool CryptoReadyIfNecessary();
« no previous file with comments | « chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc ('k') | chrome/browser/sync/glue/shared_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698