Index: chrome/browser/sync/glue/sync_backend_host.cc |
=================================================================== |
--- chrome/browser/sync/glue/sync_backend_host.cc (revision 71392) |
+++ chrome/browser/sync/glue/sync_backend_host.cc (working copy) |
@@ -130,8 +130,8 @@ |
// TODO(tim): Remove this special case once NIGORI is populated by |
// default. We piggy back off of the passwords flag for now to not |
// require both encryption and passwords flags. |
- bool enable_encryption = CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableSyncPasswords) || types.count(syncable::PASSWORDS); |
+ bool enable_encryption = !CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableSyncPasswords) || types.count(syncable::PASSWORDS); |
if (enable_encryption) |
registrar_.routing_info[syncable::NIGORI] = GROUP_PASSIVE; |