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

Unified Diff: chrome/browser/sync/credential_cache_service_factory_win.cc

Issue 10836297: Revert 151169 - [sync] Enable sync credential caching by default for post-M22 builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698