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

Unified Diff: content/child/runtime_features.cc

Issue 2788823002: Add the Mojo implementation of authenticator.mojom's MakeCredential. (Closed)
Patch Set: Rebasing to relocate WebRuntimeFeatures Created 3 years, 7 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: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index a240fa224fe939f75364c518752e233ebc7ec6ad..263521fd58204d2647d36008f1b9c07864a7dfd3 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -379,6 +379,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::EnableLocationHardReload(
base::FeatureList::IsEnabled(features::kLocationHardReload));
+ if (!base::FeatureList::IsEnabled(features::kWebAuth))
+ WebRuntimeFeatures::EnableWebAuth(false);
+
// Enable explicitly enabled features, and then disable explicitly disabled
// ones.
if (command_line.HasSwitch(switches::kEnableBlinkFeatures)) {

Powered by Google App Engine
This is Rietveld 408576698