Index: sync/test/null_directory_change_delegate.cc |
diff --git a/sync/test/null_directory_change_delegate.cc b/sync/test/null_directory_change_delegate.cc |
index e28fc6a0ea5c84419dab85e3cf7dad2cde6a005d..767f26ae40a8cb0dc5b673a6d1ba56104f33c7b9 100644 |
--- a/sync/test/null_directory_change_delegate.cc |
+++ b/sync/test/null_directory_change_delegate.cc |
@@ -11,16 +11,29 @@ NullDirectoryChangeDelegate::~NullDirectoryChangeDelegate() {} |
void NullDirectoryChangeDelegate::HandleCalculateChangesChangeEventFromSyncApi( |
const ImmutableWriteTransactionInfo& write_transaction_info, |
- BaseTransaction* trans) {} |
+ BaseTransaction* trans, |
+ std::vector<int64>* entry_changed) { |
+ for (EntryKernelMutationMap::const_iterator it = |
+ write_transaction_info.Get().mutations.Get().begin(); |
Nicolas Zea
2012/11/07 00:20:31
fix indents (here and below)
haitaol1
2012/11/07 22:20:25
Done.
|
+ it != write_transaction_info.Get().mutations.Get().end(); ++it) { |
+ entry_changed->push_back(it->first); |
+ } |
+} |
void NullDirectoryChangeDelegate::HandleCalculateChangesChangeEventFromSyncer( |
const ImmutableWriteTransactionInfo& write_transaction_info, |
- BaseTransaction* trans) {} |
+ BaseTransaction* trans, |
+ std::vector<int64>* entry_changed) { |
+ for (EntryKernelMutationMap::const_iterator it = |
+ write_transaction_info.Get().mutations.Get().begin(); |
+ it != write_transaction_info.Get().mutations.Get().end(); ++it) { |
+ entry_changed->push_back(it->first); |
+ } |
+} |
-ModelTypeSet |
- NullDirectoryChangeDelegate::HandleTransactionEndingChangeEvent( |
- const ImmutableWriteTransactionInfo& write_transaction_info, |
- BaseTransaction* trans) { |
+ModelTypeSet NullDirectoryChangeDelegate::HandleTransactionEndingChangeEvent( |
+ const ImmutableWriteTransactionInfo& write_transaction_info, |
+ BaseTransaction* trans) { |
return ModelTypeSet(); |
} |