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

Unified Diff: chrome/test/live_sync/two_client_live_passwords_sync_test.cc

Issue 6309002: Further tweaks to the passphrase UI to deal with passphrase entry.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome/browser/sync/sync_setup_wizard.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/two_client_live_passwords_sync_test.cc
===================================================================
--- chrome/test/live_sync/two_client_live_passwords_sync_test.cc (revision 71271)
+++ chrome/test/live_sync/two_client_live_passwords_sync_test.cc (working copy)
@@ -84,11 +84,11 @@
IN_PROC_BROWSER_TEST_F(TwoClientLivePasswordsSyncTest, SetPassphrase) {
#endif
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
- GetClient(0)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(0)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(0)->AwaitPassphraseAccepted();
GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1));
ASSERT_TRUE(GetClient(1)->service()->observed_passphrase_required());
- GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(1)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(1)->AwaitPassphraseAccepted();
ASSERT_FALSE(GetClient(1)->service()->observed_passphrase_required());
}
@@ -102,7 +102,7 @@
SetPassphraseAndAddPassword) {
#endif
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
- GetClient(0)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(0)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(0)->AwaitPassphraseAccepted();
PasswordForm form;
@@ -117,7 +117,7 @@
ASSERT_EQ(1, GetClient(1)->GetLastSessionSnapshot()->
num_conflicting_updates);
- GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(1)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(1)->AwaitPassphraseAccepted();
ASSERT_FALSE(GetClient(1)->service()->observed_passphrase_required());
GetClient(1)->AwaitSyncCycleCompletion("Accept passphrase and decrypt.");
@@ -131,14 +131,14 @@
DISABLED_SetPassphraseAndThenSetupSync) {
ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
ASSERT_TRUE(GetClient(0)->SetupSync());
- GetClient(0)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(0)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(0)->AwaitPassphraseAccepted();
GetClient(0)->AwaitSyncCycleCompletion("Initial sync.");
ASSERT_TRUE(GetClient(1)->SetupSync());
ASSERT_TRUE(AwaitQuiescence());
ASSERT_TRUE(GetClient(1)->service()->observed_passphrase_required());
- GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(1)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(1)->AwaitPassphraseAccepted();
ASSERT_FALSE(GetClient(1)->service()->observed_passphrase_required());
}
@@ -149,16 +149,16 @@
DISABLED_SetPassphraseTwice) {
ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
- GetClient(0)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(0)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(0)->AwaitPassphraseAccepted();
GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1));
ASSERT_TRUE(GetClient(1)->service()->observed_passphrase_required());
- GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(1)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(1)->AwaitPassphraseAccepted();
ASSERT_FALSE(GetClient(1)->service()->observed_passphrase_required());
- GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
+ GetClient(1)->service()->SetPassphrase(kValidPassphrase, true, true);
GetClient(1)->AwaitPassphraseAccepted();
ASSERT_FALSE(GetClient(1)->service()->observed_passphrase_required());
}
« no previous file with comments | « chrome/browser/sync/sync_setup_wizard.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698