forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 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 Review URL: http://codereview.chromium.org/5801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69203 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
rsimha@chromium.org
committed
Dec 15, 2010
1 parent
56b351d
commit 6e759aa
Showing
3 changed files
with
56 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters