Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: ios/chrome/app/application_delegate/user_activity_handler_unittest.mm

Issue 2676803002: Remove the iOS QR Code scanner experiment code. (Closed)
Patch Set: Addressed comment. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/app/application_delegate/user_activity_handler.mm ('k') | ios/chrome/app/main_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/application_delegate/user_activity_handler_unittest.mm
diff --git a/ios/chrome/app/application_delegate/user_activity_handler_unittest.mm b/ios/chrome/app/application_delegate/user_activity_handler_unittest.mm
index da1fc34bce9c28d69ba6e7b2c29166c8940f5ebb..d1125e122751442b4592e584d7fe1ffa39ad59ec 100644
--- a/ios/chrome/app/application_delegate/user_activity_handler_unittest.mm
+++ b/ios/chrome/app/application_delegate/user_activity_handler_unittest.mm
@@ -416,11 +416,9 @@ TEST_F(UserActivityHandlerTest, continueUserActivityShortcutActions) {
]
];
- // Enable the QR Scanner and Spotlight Actions experiments.
+ // Enable the Spotlight Actions experiment.
base::test::ScopedCommandLine scoped_command_line;
scoped_command_line.GetProcessCommandLine()->AppendSwitch(
- switches::kEnableQRScanner);
- scoped_command_line.GetProcessCommandLine()->AppendSwitch(
switches::kEnableSpotlightActions);
for (id parameters in parametersToTest) {
@@ -550,11 +548,6 @@ TEST_F(UserActivityHandlerTest, performActionForShortcutItemWithRealShortcut) {
@[ @"OpenQRScanner", @NO, @NO, @YES ]
];
- // Enable the QR Scanner experiment.
- base::test::ScopedCommandLine scoped_command_line;
- scoped_command_line.GetProcessCommandLine()->AppendSwitch(
- switches::kEnableQRScanner);
-
swizzleHandleStartupParameters();
for (id parameters in parametersToTest) {
« no previous file with comments | « ios/chrome/app/application_delegate/user_activity_handler.mm ('k') | ios/chrome/app/main_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698