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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2788823002: Add the Mojo implementation of authenticator.mojom's MakeCredential. (Closed)
Patch Set: Export authenticator_impl Created 3 years, 6 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 | « content/browser/DEPS ('k') | content/browser/webauth/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index bb9ac7469d96d9b0a37926b6617e468cca5a9498..8db5c45d0f0dacf7de0af669a06694a1f49466da 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -60,6 +60,7 @@
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
#include "content/browser/shared_worker/shared_worker_service_impl.h"
+#include "content/browser/webauth/authenticator_impl.h"
#include "content/browser/websockets/websocket_manager.h"
#include "content/browser/webui/url_data_manager_backend.h"
#include "content/browser/webui/web_ui_controller_factory_registry.h"
@@ -2923,6 +2924,11 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
GetInterfaceRegistry()->AddInterface(
base::Bind(&ForwardShapeDetectionRequest<
shape_detection::mojom::TextDetectionRequest>));
+
+ if (base::FeatureList::IsEnabled(features::kWebAuth)) {
+ GetInterfaceRegistry()->AddInterface(
+ base::Bind(&AuthenticatorImpl::Create, base::Unretained(this)));
+ }
}
void RenderFrameHostImpl::ResetWaitingState() {
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/webauth/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698