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

Unified Diff: services/shape_detection/shape_detection_service.cc

Issue 2734703002: RELAND: ShapeDetection: add support for Text Detection in Mac (Closed)
Patch Set: Forward-declare CIRectangleFeature to avoid partial availability warnings Created 3 years, 9 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 | « services/shape_detection/manifest.json ('k') | services/shape_detection/text_detection_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shape_detection/shape_detection_service.cc
diff --git a/services/shape_detection/shape_detection_service.cc b/services/shape_detection/shape_detection_service.cc
index c2375168d4b74a276aff9b53f39c2217339e7a1c..9d4000b28be1765f490411b045d849d69d1a94e0 100644
--- a/services/shape_detection/shape_detection_service.cc
+++ b/services/shape_detection/shape_detection_service.cc
@@ -9,6 +9,7 @@
#include "services/service_manager/public/cpp/service_context.h"
#include "services/shape_detection/barcode_detection_impl.h"
#include "services/shape_detection/face_detection_provider_impl.h"
+#include "services/shape_detection/text_detection_impl.h"
namespace shape_detection {
@@ -45,6 +46,7 @@ bool ShapeDetectionService::OnConnect(
base::Bind(&OnConnectionLost, base::Passed(&connection_ref)));
registry->AddInterface(base::Bind(&BarcodeDetectionImpl::Create));
registry->AddInterface(base::Bind(&FaceDetectionProviderImpl::Create));
+ registry->AddInterface(base::Bind(&TextDetectionImpl::Create));
return true;
}
« no previous file with comments | « services/shape_detection/manifest.json ('k') | services/shape_detection/text_detection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698