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

Unified Diff: services/shape_detection/text_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/text_detection_impl.h
diff --git a/services/shape_detection/text_detection_impl.h b/services/shape_detection/text_detection_impl.h
index 617f6e8bc7f5105e4eebbe166fe4e3e9b4aa7e6e..ad79ba518aad56c614e72d18ad8cb66bdd0a5a11 100644
--- a/services/shape_detection/text_detection_impl.h
+++ b/services/shape_detection/text_detection_impl.h
@@ -7,11 +7,16 @@
#include "services/shape_detection/public/interfaces/textdetection.mojom.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace shape_detection {
class TextDetectionImpl {
public:
- static void Create(mojom::TextDetectionRequest request);
+ static void Create(const service_manager::BindSourceInfo& source_info,
+ mojom::TextDetectionRequest request);
private:
~TextDetectionImpl() = default;
« no previous file with comments | « services/shape_detection/face_detection_provider_impl.h ('k') | services/shape_detection/text_detection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698