summaryrefslogtreecommitdiffstats
path: root/chrome/test/live_sync/live_sync_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/live_sync/live_sync_test.cc')
-rw-r--r--chrome/test/live_sync/live_sync_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/live_sync/live_sync_test.cc b/chrome/test/live_sync/live_sync_test.cc
index ba55dd4..6fd16cb 100644
--- a/chrome/test/live_sync/live_sync_test.cc
+++ b/chrome/test/live_sync/live_sync_test.cc
@@ -118,6 +118,11 @@ void LiveSyncTest::SetUp() {
cl->AppendSwitch(switches::kSyncUseSslTcp);
}
+ // TODO(sync): Remove this once passwords sync is enabled by default.
+ if (!cl->HasSwitch(switches::kEnableSyncPasswords)) {
+ cl->AppendSwitch(switches::kEnableSyncPasswords);
+ }
+
// Mock the Mac Keychain service. The real Keychain can block on user input.
#if defined(OS_MACOSX)
Encryptor::UseMockKeychain(true);