Index: chrome/browser/sync/credential_cache_service_factory_win.cc |
=================================================================== |
--- chrome/browser/sync/credential_cache_service_factory_win.cc (revision 151975) |
+++ chrome/browser/sync/credential_cache_service_factory_win.cc (working copy) |
@@ -61,11 +61,11 @@ |
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 not disabled. |
+ // default profile on Windows 8, and if credential caching is enabled. |
const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
if (base::win::GetVersion() >= base::win::VERSION_WIN8 && |
IsDefaultProfile(profile) && |
- !command_line->HasSwitch(switches::kDisableSyncCredentialCaching)) { |
+ command_line->HasSwitch(switches::kEnableSyncCredentialCaching)) { |
return new syncer::CredentialCacheService(profile); |
} |
return NULL; |