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

Unified Diff: android_webview/browser/command_line_helper.h

Issue 2520053002: [Merge M-55] Disable Web Payments in WebView (Closed)
Patch Set: Created 4 years, 1 month 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 | android_webview/browser/command_line_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/command_line_helper.h
diff --git a/android_webview/browser/command_line_helper.h b/android_webview/browser/command_line_helper.h
index 9a878527d42a45d75b94903b6cc62a26c8e0448a..9ad432652b68c4aecb2f51c5366f3e5cf381472f 100644
--- a/android_webview/browser/command_line_helper.h
+++ b/android_webview/browser/command_line_helper.h
@@ -20,6 +20,11 @@ class CommandLineHelper {
static void AddEnabledFeature(base::CommandLine& command_line,
const std::string& feature_name);
+ // Add a feature to the --disabled-features list, but only if it's not already
+ // enabled or disabled.
+ static void AddDisabledFeature(base::CommandLine& command_line,
+ const std::string& feature_name);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(CommandLineHelper);
};
« no previous file with comments | « no previous file | android_webview/browser/command_line_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698