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

Unified Diff: sync/syncable/directory_change_delegate.h

Issue 11341048: Populate versions on individual nodes in sync model and native bookmark model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: sync/syncable/directory_change_delegate.h
diff --git a/sync/syncable/directory_change_delegate.h b/sync/syncable/directory_change_delegate.h
index 2afd6210009ebe59d879c6a919fbb61541f04c82..2d1a6da3a3f4817be63ed36601f075d789aa5bea 100644
--- a/sync/syncable/directory_change_delegate.h
+++ b/sync/syncable/directory_change_delegate.h
@@ -23,12 +23,16 @@ namespace syncable {
// Note that these methods may be called on *any* thread.
class DirectoryChangeDelegate {
public:
+ // Returns the handles of changed entries in |entry_changed|.
virtual void HandleCalculateChangesChangeEventFromSyncApi(
const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans) = 0;
+ BaseTransaction* trans,
+ std::vector<int64>* entry_changed) = 0;
+ // Returns the handles of changed entries in |entry_changed|.
virtual void HandleCalculateChangesChangeEventFromSyncer(
const ImmutableWriteTransactionInfo& write_transaction_info,
- BaseTransaction* trans) = 0;
+ BaseTransaction* trans,
+ std::vector<int64>* entry_changed) = 0;
// Must return the set of all ModelTypes that were modified in the
// transaction.
virtual ModelTypeSet HandleTransactionEndingChangeEvent(

Powered by Google App Engine
This is Rietveld 408576698