| Index: chrome/browser/android/contextualsearch/contextual_search_delegate.cc
|
| diff --git a/chrome/browser/android/contextualsearch/contextual_search_delegate.cc b/chrome/browser/android/contextualsearch/contextual_search_delegate.cc
|
| index e1eed9b41fe33cfc4fa6dc6f918ec37a571fae6d..dd465e4f837b68e083f669c8fbfafbad32eee19c 100644
|
| --- a/chrome/browser/android/contextualsearch/contextual_search_delegate.cc
|
| +++ b/chrome/browser/android/contextualsearch/contextual_search_delegate.cc
|
| @@ -382,7 +382,7 @@ bool ContextualSearchDelegate::CanSendPageURL(
|
| ProfileSyncService* service =
|
| ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile);
|
| sync_driver::SyncPrefs sync_prefs(profile->GetPrefs());
|
| - if (service == NULL || !service->IsSyncEnabledAndLoggedIn() ||
|
| + if (service == NULL || !service->CanSyncStart() ||
|
| !sync_prefs.GetPreferredDataTypes(syncer::UserTypes())
|
| .Has(syncer::PROXY_TABS) ||
|
| !service->GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES)) {
|
|
|