Description[Sync] Fix encryption/passphrase handling.
We now ensure cached passphrases are always used. In addition, encryption now
happens after configuration, allowing us to make use of the
pending_encrypted_types to know if we're waiting for encryption (which
affects how we prompt for passphrase). This is dependent on sync_setup_flow.cc
always calling EncryptDataTypes before configuring the new datatypes and setting
pending_encrypted_types_ appropriately, which then gets consumed on
SYNC_CONFIGURE_DONE.
BUG=91314
TEST=see bug
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95693
Patch Set 1 #
Total comments: 3
Patch Set 2 : fix test + comments #Patch Set 3 : Fix integration tests #
Total comments: 10
Patch Set 4 : Review + make encrypt all selection use pending types #Patch Set 5 : Rebase + fix allstatus #
Messages
Total messages: 5 (0 generated)
|