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

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

Issue 2655303005: Shape detection service: Add QR detection in Mac (Closed)
Patch Set: rsesek@ comments Created 3 years, 11 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/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 4546d52b7e3824a30aa9fc838f8434555224e975..ca44403cd9042a76b5be8c74dfdf4de2a2bcfd1e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -219,7 +219,7 @@
#if defined(OS_MACOSX)
#include "content/browser/bootstrap_sandbox_manager_mac.h"
#include "content/browser/mach_broker_mac.h"
-#include "content/browser/shapedetection/face_detection_service_dispatcher.h"
+#include "content/browser/shapedetection/shape_detection_service_dispatcher.h"
#endif
#if defined(OS_POSIX)
@@ -1200,7 +1200,10 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
#if defined(OS_MACOSX)
AddUIThreadInterface(
registry.get(),
- base::Bind(&FaceDetectionServiceDispatcher::CreateMojoService));
+ base::Bind(&ShapeDetectionServiceDispatcher::CreateFaceMojoService));
+ AddUIThreadInterface(
Ken Rockot(use gerrit already) 2017/02/01 21:01:07 Note that in both of these cases, trying to use th
mcasas 2017/02/02 19:40:33 True. What we want is, in non-Android, to route t
+ registry.get(),
+ base::Bind(&ShapeDetectionServiceDispatcher::CreateBarcodeMojoService));
#endif
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698