Index: chrome/browser/sync/credential_cache_service_factory_win.cc |
diff --git a/chrome/browser/sync/credential_cache_service_factory_win.cc b/chrome/browser/sync/credential_cache_service_factory_win.cc |
index a66c72b4ad169498d3da5ab47160f9e38589b70d..1732ec597bd0546a6b118291615918b8849e262f 100644 |
--- a/chrome/browser/sync/credential_cache_service_factory_win.cc |
+++ b/chrome/browser/sync/credential_cache_service_factory_win.cc |
@@ -61,11 +61,11 @@ bool CredentialCacheServiceFactory::ServiceIsCreatedWithProfile() { |
ProfileKeyedService* CredentialCacheServiceFactory::BuildServiceInstanceFor( |
Profile* profile) const { |
// Only instantiate a CredentialCacheService object if we are running in the |
- // default profile on Windows 8, and if credential caching is enabled. |
+ // default profile on Windows 8, and if credential caching is not disabled. |
const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
if (base::win::GetVersion() >= base::win::VERSION_WIN8 && |
IsDefaultProfile(profile) && |
- command_line->HasSwitch(switches::kEnableSyncCredentialCaching)) { |
+ !command_line->HasSwitch(switches::kDisableSyncCredentialCaching)) { |
return new syncer::CredentialCacheService(profile); |
} |
return NULL; |