| Index: chrome/browser/about_flags.cc
|
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
| index bdd2f7493461e71775cf59733e894a3dc26d0b7a..d5b840e50313d9f6b3517bff4093a727901ba958 100644
|
| --- a/chrome/browser/about_flags.cc
|
| +++ b/chrome/browser/about_flags.cc
|
| @@ -509,6 +509,18 @@ const FeatureEntry::Choice kPpapiWin32kLockdown[] = {
|
| };
|
| #endif // defined(OS_WIN)
|
|
|
| +#if defined(OS_ANDROID)
|
| +const FeatureEntry::Choice kNtpSwitchToExistingTabChoices[] = {
|
| + {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""},
|
| + {IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kNtpSwitchToExistingTab,
|
| + "disabled"},
|
| + {IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_MATCH_URL,
|
| + switches::kNtpSwitchToExistingTab, "url"},
|
| + {IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_MATCH_HOST,
|
| + switches::kNtpSwitchToExistingTab, "host"},
|
| +};
|
| +#endif // defined(OS_ANDROID)
|
| +
|
| // RECORDING USER METRICS FOR FLAGS:
|
| // -----------------------------------------------------------------------------
|
| // The first line of the entry is the internal name. If you'd like to gather
|
| @@ -1987,6 +1999,11 @@ const FeatureEntry kFeatureEntries[] = {
|
| kOsAndroid,
|
| ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNTPPopularSites,
|
| switches::kDisableNTPPopularSites)},
|
| + {"ntp-switch-to-existing-tab",
|
| + IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_NAME,
|
| + IDS_FLAGS_NTP_SWITCH_TO_EXISTING_TAB_DESCRIPTION,
|
| + kOsAndroid,
|
| + MULTI_VALUE_TYPE(kNtpSwitchToExistingTabChoices)},
|
| {"use-android-midi-api",
|
| IDS_FLAGS_USE_ANDROID_MIDI_API_NAME,
|
| IDS_FLAGS_USE_ANDROID_MIDI_API_DESCRIPTION,
|
|
|