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

Unified Diff: services/shape_detection/shape_detection_service.cc

Issue 2655303005: Shape detection service: Add QR detection in Mac (Closed)
Patch Set: Don't init explicitly a vector of vectors 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
« no previous file with comments | « services/shape_detection/face_detection_impl_mac.mm ('k') | no next file » | 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 d9210e9ef4888bfe47448e67487ba69f80d4bc47..e0105629f65d4988b5f25fd8ef14b1c032dcf7c2 100644
--- a/services/shape_detection/shape_detection_service.cc
+++ b/services/shape_detection/shape_detection_service.cc
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "services/service_manager/public/cpp/interface_registry.h"
#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"
namespace shape_detection {
@@ -42,6 +43,7 @@ bool ShapeDetectionService::OnConnect(
ref_factory_->CreateRef();
registry->AddConnectionLostClosure(
base::Bind(&OnConnectionLost, base::Passed(&connection_ref)));
+ registry->AddInterface(base::Bind(&BarcodeDetectionImpl::Create));
registry->AddInterface(base::Bind(&FaceDetectionProviderImpl::Create));
return true;
}
« no previous file with comments | « services/shape_detection/face_detection_impl_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698