Index: chrome/browser/history/web_history_service_factory.cc |
diff --git a/chrome/browser/history/web_history_service_factory.cc b/chrome/browser/history/web_history_service_factory.cc |
index af51d1a74e7d80118dc5478075a55dd5f00e27cc..66a3b33a040730f69292900b461d1e441df2bfcf 100644 |
--- a/chrome/browser/history/web_history_service_factory.cc |
+++ b/chrome/browser/history/web_history_service_factory.cc |
@@ -17,8 +17,8 @@ namespace { |
// Returns true if the user is signed in and full history sync is enabled, |
// and false otherwise. |
bool IsHistorySyncEnabled(Profile* profile) { |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kHistoryEnableFullHistorySync)) { |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kHistoryDisableFullHistorySync)) { |
ProfileSyncService* sync = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
return sync && |