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

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

Issue 2715013002: [Payments] Put Web Payments feature on desktop behind flag (Closed)
Patch Set: untouch runtime_features file 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: chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc b/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
index 991adf435057ff391cf3a807b5bf3a3354b834c6..ab6c2bfa155fe9042888716a084749f6ab99d4f7 100644
--- a/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
+++ b/chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
@@ -24,6 +24,7 @@
#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/interface_registry.h"
@@ -45,6 +46,8 @@ void PaymentRequestInteractiveTestBase::SetUpCommandLine(
base::CommandLine* command_line) {
InProcessBrowserTest::SetUpCommandLine(command_line);
command_line->AppendSwitch(switches::kEnableExperimentalWebPlatformFeatures);
+ command_line->AppendSwitchASCII(switches::kEnableFeatures,
+ features::kWebPayments.name);
}
void PaymentRequestInteractiveTestBase::SetUpOnMainThread() {
« no previous file with comments | « chrome/browser/payments/site_per_process_payments_browsertest.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698