DescriptionFix passphrase initialization flow in ProfileSyncServiceHarness
There was a race condition in ProfileSyncServiceHarness due to its multiple
inheritance of ProfileSyncServiceObserver and NotificationObserver,
causing several integration tests to fail.
This patch contains a fix that involves not inheriting from
NotificationObserver, and simply relying on the OnStateChanged()
mechanism of ProfileSyncServiceObserver, thereby eliminating the race.
It also contains 2 new test cases that further verify passphrase functionality:
SetPassphraseAndThenSetupSync and SetPassphraseTwice.
BUG=64109
TEST=sync_integration_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69203
Patch Set 1 #Patch Set 2 : Adding 2 new tests for Passphrases. #
Created: 10 years ago
Messages
Total messages: 4 (0 generated)
|