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

Unified Diff: ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm

Issue 2680263003: Remove the iOS QR Code scanner experiment code. (Closed)
Patch Set: 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
Index: ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm
diff --git a/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm b/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm
index f6cb15095b0c1dc5605391a5a6e18c7dd06a9a3d..89b7c9cb4f65fb14c66fe260f9649c8b7d4544df 100644
--- a/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm
+++ b/ios/chrome/browser/ui/qr_scanner/qr_scanner_view_controller_egtest.mm
@@ -8,7 +8,6 @@
#import "base/mac/scoped_nsobject.h"
#include "base/strings/sys_string_conversions.h"
-#include "base/test/scoped_command_line.h"
#include "components/strings/grit/components_strings.h"
#include "components/version_info/version_info.h"
#import "ios/chrome/app/main_controller.h"
@@ -145,8 +144,6 @@ void tapKeyboardReturnKeyInOmniboxWithText(std::string text) {
@end
@implementation QRScannerViewControllerTestCase {
- // A scoped command line to enable the QR Scanner experiment.
- std::unique_ptr<base::test::ScopedCommandLine> scoped_command_line_;
// A swizzler for the CameraController method cameraControllerWithDelegate:.
std::unique_ptr<ScopedBlockSwizzler> camera_controller_swizzler_;
// A swizzler for the WebToolbarController method
@@ -172,11 +169,6 @@ void tapKeyboardReturnKeyInOmniboxWithText(std::string text) {
_testURLEdited = web::test::HttpServer::MakeUrl(kTestURLEdited);
_testQuery = web::test::HttpServer::MakeUrl(kTestQueryURL);
_testQueryEdited = web::test::HttpServer::MakeUrl(kTestQueryEditedURL);
-
- // Enable the QR Scanner experiment.
- scoped_command_line_.reset(new base::test::ScopedCommandLine);
- scoped_command_line_->GetProcessCommandLine()->AppendSwitch(
- switches::kEnableQRScanner);
}
- (void)tearDown {

Powered by Google App Engine
This is Rietveld 408576698