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

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: lock dir 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..5c9ad695d4b14d8a0fc9b8babcfc0114029ee804 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;
Nicolas Zea 2012/11/02 21:02:25 nit: fix * to be before space (here and below)
haitaol1 2012/11/02 22:58:18 Done. Haven't completely got off the style in my o
+ // 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