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

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

Issue 10855063: [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
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;
« 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