| Index: chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
| diff --git a/chrome/browser/search_engines/ui_thread_search_terms_data.cc b/chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
| index 2532bee9dab320bc85c983dd7e6dc28b63c26ae5..c65c306fc32bd6cd4120cbc2760816f90698f5df 100644
|
| --- a/chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
| +++ b/chrome/browser/search_engines/ui_thread_search_terms_data.cc
|
| @@ -12,6 +12,7 @@
|
| #include "chrome/browser/google/google_brand.h"
|
| #include "chrome/browser/google/google_profile_helper.h"
|
| #include "chrome/browser/google/google_util.h"
|
| +#include "chrome/browser/omnibox/omnibox_field_trial.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search/search.h"
|
| #include "chrome/browser/sync/glue/device_info.h"
|
| @@ -114,8 +115,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 (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableAnswersInSuggest)) {
|
| + if (chrome::IsAnswersInSuggestEnabled()) {
|
| return "chrome-mobile-ext-ansg";
|
| } else {
|
| return "chrome-mobile-ext";
|
|
|