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

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

Issue 2833042: Enable extensions sync by default. (Closed)
Patch Set: Fixed unittests Created 10 years, 6 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/browser/sync/profile_sync_factory_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_factory_impl.cc
diff --git a/chrome/browser/sync/profile_sync_factory_impl.cc b/chrome/browser/sync/profile_sync_factory_impl.cc
index 1a707ec4c6d5078d67a39935e5fe1d75916863b4..3a3bd4659b572fbbde01d5928f20c9396c255fb6 100644
--- a/chrome/browser/sync/profile_sync_factory_impl.cc
+++ b/chrome/browser/sync/profile_sync_factory_impl.cc
@@ -85,9 +85,9 @@ ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService() {
new BookmarkDataTypeController(this, profile_, pss));
}
- // Extension sync is disabled by default. Register only if
- // explicitly enabled.
- if (command_line_->HasSwitch(switches::kEnableSyncExtensions)) {
+ // Extension sync is enabled by default. Register unless explicitly
+ // disabled.
+ if (!command_line_->HasSwitch(switches::kDisableSyncExtensions)) {
pss->RegisterDataTypeController(
new ExtensionDataTypeController(this, profile_, pss));
}
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698