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

Unified Diff: services/shape_detection/face_detection_provider_impl.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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: services/shape_detection/face_detection_provider_impl.h
diff --git a/services/shape_detection/face_detection_provider_impl.h b/services/shape_detection/face_detection_provider_impl.h
index a2b869092ccb4eab41b05252bbb9383b4d245dd5..b9c05595c08c9a70d14ccbceeb2026414d71e0b0 100644
--- a/services/shape_detection/face_detection_provider_impl.h
+++ b/services/shape_detection/face_detection_provider_impl.h
@@ -8,6 +8,10 @@
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/shape_detection/public/interfaces/facedetection_provider.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace shape_detection {
class FaceDetectionProviderImpl
@@ -16,6 +20,7 @@ class FaceDetectionProviderImpl
~FaceDetectionProviderImpl() override = default;
static void Create(
+ const service_manager::BindSourceInfo& source_info,
shape_detection::mojom::FaceDetectionProviderRequest request) {
mojo::MakeStrongBinding(base::MakeUnique<FaceDetectionProviderImpl>(),
std::move(request));
« no previous file with comments | « services/shape_detection/barcode_detection_impl_mac.mm ('k') | services/shape_detection/text_detection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698