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

Unified Diff: components/sync/core_impl/sync_encryption_handler_impl.cc

Issue 2278333002: Supplimentary identifier for passwords specific (Closed)
Patch Set: cleanup Created 4 years, 4 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: components/sync/core_impl/sync_encryption_handler_impl.cc
diff --git a/components/sync/core_impl/sync_encryption_handler_impl.cc b/components/sync/core_impl/sync_encryption_handler_impl.cc
index 795cc0cd1a448401c614953b4c98da1a00fd4bbc..07c410e64653083290a3b50b2e77ce9ec9c20e7e 100644
--- a/components/sync/core_impl/sync_encryption_handler_impl.cc
+++ b/components/sync/core_impl/sync_encryption_handler_impl.cc
@@ -850,7 +850,8 @@ void SyncEncryptionHandlerImpl::ReEncryptEverything(WriteTransaction* trans) {
WriteNode child(trans);
if (child.InitByIdLookup(child_id) != BaseNode::INIT_OK)
break; // Possible if we failed to decrypt the data for some reason.
- child.SetPasswordSpecifics(child.GetPasswordSpecifics());
+ child.SetPasswordSpecifics(child.GetPasswordSpecifics(),
+ GetPassphraseType(trans->GetWrappedTrans()));
child_id = child.GetSuccessorId();
}
}

Powered by Google App Engine
This is Rietveld 408576698