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

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

Issue 2620083002: Shape Detection: Move mojom interface to //services (Closed)
Patch Set: 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/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 b95ef8cd1813dfa5d0afa24501567072255ab1ac..6f1da7b8174a383440ee931e9b8db56cc6a93204 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -106,7 +106,7 @@
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/service_manager/public/cpp/connector.h"
#include "services/service_manager/public/cpp/interface_provider.h"
-#include "third_party/WebKit/public/platform/modules/shapedetection/facedetection_provider.mojom.h"
+#include "services/shape_detection/public/interfaces/facedetection_provider.mojom.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_update.h"
#include "ui/gfx/geometry/quad_f.h"
@@ -2275,7 +2275,8 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
#if defined(OS_ANDROID)
GetInterfaceRegistry()->AddInterface(
GetGlobalJavaInterfaces()
- ->CreateInterfaceFactory<blink::mojom::FaceDetectionProvider>());
+ ->CreateInterfaceFactory<
+ shape_detection::mojom::FaceDetectionProvider>());
GetInterfaceRegistry()->AddInterface(
GetGlobalJavaInterfaces()

Powered by Google App Engine
This is Rietveld 408576698