OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_IMPL_H_ | 5 #ifndef SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_IMPL_H_ |
6 #define SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_IMPL_H_ | 6 #define SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_IMPL_H_ |
7 | 7 |
8 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" | 8 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" |
9 | 9 |
| 10 namespace service_manager { |
| 11 struct BindSourceInfo; |
| 12 } |
| 13 |
10 namespace shape_detection { | 14 namespace shape_detection { |
11 | 15 |
12 class BarcodeDetectionImpl { | 16 class BarcodeDetectionImpl { |
13 public: | 17 public: |
14 static void Create(shape_detection::mojom::BarcodeDetectionRequest request); | 18 static void Create(const service_manager::BindSourceInfo& source_info, |
| 19 shape_detection::mojom::BarcodeDetectionRequest request); |
15 | 20 |
16 private: | 21 private: |
17 ~BarcodeDetectionImpl() = default; | 22 ~BarcodeDetectionImpl() = default; |
18 | 23 |
19 DISALLOW_COPY_AND_ASSIGN(BarcodeDetectionImpl); | 24 DISALLOW_COPY_AND_ASSIGN(BarcodeDetectionImpl); |
20 }; | 25 }; |
21 | 26 |
22 } // namespace shape_detection | 27 } // namespace shape_detection |
23 | 28 |
24 #endif // SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_IMPL_H_ | 29 #endif // SERVICES_SHAPE_DETECTION_BARCODE_DETECTION_IMPL_H_ |
OLD | NEW |