| Index: chrome/browser/search/local_ntp_source.cc
|
| diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
|
| index bfa03c73a987352e0de42a63e44ac311fac6c141..96bd7c63e8c1b9da4488b4becf152ef2e8afc2fc 100644
|
| --- a/chrome/browser/search/local_ntp_source.cc
|
| +++ b/chrome/browser/search/local_ntp_source.cc
|
| @@ -88,21 +88,6 @@ bool DefaultSearchProviderIsGoogle(Profile* profile) {
|
| SEARCH_ENGINE_GOOGLE);
|
| }
|
|
|
| -// Returns whether icon NTP is enabled by experiment.
|
| -// TODO(huangs): Remove all 3 copies of this routine once Icon NTP launches.
|
| -bool IsIconNTPEnabled() {
|
| - // Note: It's important to query the field trial state first, to ensure that
|
| - // UMA reports the correct group.
|
| - const std::string group_name = base::FieldTrialList::FindFullName("IconNTP");
|
| - using base::CommandLine;
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableIconNtp))
|
| - return false;
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableIconNtp))
|
| - return true;
|
| -
|
| - return base::StartsWith(group_name, "Enabled", base::CompareCase::SENSITIVE);
|
| -}
|
| -
|
| // Adds a localized string keyed by resource id to the dictionary.
|
| void AddString(base::DictionaryValue* dictionary,
|
| const std::string& key,
|
| @@ -148,7 +133,6 @@ std::string GetConfigData(Profile* profile) {
|
| config_data.Set("translatedStrings",
|
| GetTranslatedStrings(is_google).release());
|
| config_data.SetBoolean("isGooglePage", is_google);
|
| - config_data.SetBoolean("useIcons", IsIconNTPEnabled());
|
|
|
| // Serialize the dictionary.
|
| std::string js_text;
|
|
|