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

Unified Diff: chrome/browser/chrome_content_browser_client.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
« no previous file with comments | « no previous file | chrome/browser/payments/site_per_process_payments_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 24653d18bde3b5b7a498e33cacba774338031016..3282f7c3b373f481adef08ced88e28a4fb5457ce 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1611,15 +1611,6 @@ bool IsAutoReloadVisibleOnlyEnabled() {
return true;
}
-#if !defined(OS_ANDROID)
-bool AreExperimentalWebPlatformFeaturesEnabled() {
- const base::CommandLine& browser_command_line =
- *base::CommandLine::ForCurrentProcess();
- return browser_command_line.HasSwitch(
- switches::kEnableExperimentalWebPlatformFeatures);
-}
-#endif
-
void MaybeAppendBlinkSettingsSwitchForFieldTrial(
const base::CommandLine& browser_command_line,
base::CommandLine* command_line) {
@@ -3225,8 +3216,7 @@ void ChromeContentBrowserClient::ExposeInterfacesToFrame(
web_contents->GetJavaInterfaces()->GetWeakPtr()));
}
#else
- if (AreExperimentalWebPlatformFeaturesEnabled() &&
- base::FeatureList::IsEnabled(features::kWebPayments)) {
+ if (base::FeatureList::IsEnabled(features::kWebPayments)) {
content::WebContents* web_contents =
content::WebContents::FromRenderFrameHost(render_frame_host);
if (web_contents) {
« no previous file with comments | « no previous file | chrome/browser/payments/site_per_process_payments_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698