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

Unified Diff: services/shape_detection/barcode_detection_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/barcode_detection_impl.h
diff --git a/services/shape_detection/barcode_detection_impl.h b/services/shape_detection/barcode_detection_impl.h
index e0aa2451c3e76f8aa9587029d305c8a34bcc8dfb..7a17841b2faf3e2c74f48b974024150af98ea444 100644
--- a/services/shape_detection/barcode_detection_impl.h
+++ b/services/shape_detection/barcode_detection_impl.h
@@ -7,11 +7,16 @@
#include "services/shape_detection/public/interfaces/barcodedetection.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace shape_detection {
class BarcodeDetectionImpl {
public:
- static void Create(shape_detection::mojom::BarcodeDetectionRequest request);
+ static void Create(const service_manager::BindSourceInfo& source_info,
+ shape_detection::mojom::BarcodeDetectionRequest request);
private:
~BarcodeDetectionImpl() = default;
« no previous file with comments | « services/service_manager/public/cpp/lib/callback_binder.h ('k') | services/shape_detection/barcode_detection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698