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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2861263002: Shape Detection: move Java Face detection classes to //services/shape_detection (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/public/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 5731df87c71d0f4de76657e505412749ca546a1b..bcad1f28e438f346a14c79e032113b16a2ab8f64 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1227,21 +1227,14 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
base::Bind(&IndexedDBDispatcherHost::AddBinding,
base::Unretained(indexed_db_factory_.get())));
-#if defined(OS_ANDROID)
- AddUIThreadInterface(
- registry.get(), GetGlobalJavaInterfaces()
- ->CreateInterfaceFactory<
- shape_detection::mojom::FaceDetectionProvider>());
-#else
AddUIThreadInterface(
registry.get(),
base::Bind(&ForwardShapeDetectionRequest<
- shape_detection::mojom::FaceDetectionProviderRequest>));
-#endif
+ shape_detection::mojom::BarcodeDetectionRequest>));
AddUIThreadInterface(
registry.get(),
base::Bind(&ForwardShapeDetectionRequest<
- shape_detection::mojom::BarcodeDetectionRequest>));
+ shape_detection::mojom::FaceDetectionProviderRequest>));
AddUIThreadInterface(
registry.get(),
base::Bind(&ForwardShapeDetectionRequest<
« no previous file with comments | « no previous file | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698