Index: chrome/browser/search_engines/search_terms_data.cc |
diff --git a/chrome/browser/search_engines/search_terms_data.cc b/chrome/browser/search_engines/search_terms_data.cc |
index 60ff33f5844e1ce5a4d5c80280e3c64fe2f2f4b6..62834541dde58bf8c61f6eba03f091c20f778783 100644 |
--- a/chrome/browser/search_engines/search_terms_data.cc |
+++ b/chrome/browser/search_engines/search_terms_data.cc |
@@ -16,7 +16,6 @@ |
#include "chrome/browser/sync/glue/device_info.h" |
#include "chrome/browser/themes/theme_service.h" |
#include "chrome/browser/themes/theme_service_factory.h" |
-#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "content/public/browser/browser_thread.h" |
#include "sync/protocol/sync.pb.h" |
@@ -166,8 +165,7 @@ std::string UIThreadSearchTermsData::GetSuggestRequestIdentifier() const { |
sync_pb::SyncEnums::DeviceType device_type = |
browser_sync::DeviceInfo::GetLocalDeviceType(); |
if (device_type == sync_pb::SyncEnums_DeviceType_TYPE_PHONE) { |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableAnswersInSuggest)) { |
+ if (chrome::IsAnswersInSuggestEnabled()) { |
return "chrome-mobile-ext-ansg"; |
} else { |
return "chrome-mobile-ext"; |