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

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

Issue 2676803002: Remove the iOS QR Code scanner experiment code. (Closed)
Patch Set: Addressed comments. 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 0a06d8e22fbc349cd6e8cf84a44e4ce364748e22..ffef3cbcfd6e9345cc5079aa281284e7bc5c1566 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