Chromium Code Reviews| Index: ios/chrome/browser/experimental_flags.mm |
| diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm |
| index fa9b1f13324d0dc928d529da88f7877577884842..cdbc2f6155c2839b2d240edd2c25931e57d2504e 100644 |
| --- a/ios/chrome/browser/experimental_flags.mm |
| +++ b/ios/chrome/browser/experimental_flags.mm |
| @@ -187,17 +187,10 @@ bool IsPaymentRequestEnabled() { |
| bool IsSpotlightActionsEnabled() { |
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| - if (command_line->HasSwitch(switches::kEnableSpotlightActions)) { |
| - return true; |
| - } else if (command_line->HasSwitch(switches::kDisableSpotlightActions)) { |
| + if (command_line->HasSwitch(switches::kDisableSpotlightActions)) { |
|
sdefresne
2016/09/20 16:56:22
return !command_line->HasSwitch(switches::kDisable
jif
2016/09/20 18:34:57
Done.
|
| return false; |
| } |
| - |
| - // Check if the finch experiment is turned on. |
| - std::string group_name = |
| - base::FieldTrialList::FindFullName("SpotlightActionsEnabled"); |
| - return base::StartsWith(group_name, "Enabled", |
| - base::CompareCase::INSENSITIVE_ASCII); |
| + return true; |
| } |
| } // namespace experimental_flags |