Index: chrome/browser/sync/engine/get_commit_ids_command.h |
diff --git a/chrome/browser/sync/engine/get_commit_ids_command.h b/chrome/browser/sync/engine/get_commit_ids_command.h |
index c730a643637be683e541dc5fa80a9602f8fb4f92..8c0bf9154f632d747fcd1de9e41fd1dd19b08f77 100644 |
--- a/chrome/browser/sync/engine/get_commit_ids_command.h |
+++ b/chrome/browser/sync/engine/get_commit_ids_command.h |
@@ -29,6 +29,13 @@ class GetCommitIdsCommand : public SyncerCommand { |
// SyncerCommand implementation. |
virtual void ExecuteImpl(sessions::SyncSession* session); |
+ // Filter |unsynced_handles| to exclude all handles to entries that require |
+ // encryption but are in plaintext. |
+ static void FilterEntriesNeedingEncryption( |
+ const syncable::ModelTypeSet& encrypted_types, |
+ syncable::BaseTransaction* trans, |
+ syncable::Directory::UnsyncedMetaHandles* unsynced_handles); |
+ |
// Builds a vector of IDs that should be committed. |
void BuildCommitIds(const vector<int64>& unsynced_handles, |
syncable::WriteTransaction* write_transaction, |