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

Unified Diff: chrome/browser/ui/views/payments/payment_request_browsertest_base.cc

Issue 2855923002: [Payments] Desktop: enable the Payment Request integration by default (Closed)
Patch Set: Created 3 years, 8 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: chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc b/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
index 4f0383b58f4779e5bf5c4dbef209ec34fe7c17cc..45fe0b4d225155b8d179f8e34b1a8a7102d5df9b 100644
--- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
+++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
@@ -32,8 +32,6 @@
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/common/content_features.h"
-#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
#include "services/service_manager/public/cpp/binder_registry.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -59,14 +57,6 @@ PaymentRequestBrowserTestBase::PaymentRequestBrowserTestBase(
is_valid_ssl_(true) {}
PaymentRequestBrowserTestBase::~PaymentRequestBrowserTestBase() {}
-void PaymentRequestBrowserTestBase::SetUpCommandLine(
- base::CommandLine* command_line) {
- InProcessBrowserTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(switches::kEnableExperimentalWebPlatformFeatures);
- command_line->AppendSwitchASCII(switches::kEnableFeatures,
- features::kWebPayments.name);
-}
-
void PaymentRequestBrowserTestBase::SetUpOnMainThread() {
https_server_ = base::MakeUnique<net::EmbeddedTestServer>(
net::EmbeddedTestServer::TYPE_HTTPS);
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_browsertest_base.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698