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

Side by Side 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, 7 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 unified diff | Download patch
OLDNEW
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_
OLDNEW
« 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