barcode_detection_provider_impl.cc 824 B

1234567891011121314151617181920212223
  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
  3. // found in the LICENSE file.
  4. #include "services/shape_detection/barcode_detection_provider_impl.h"
  5. #include "base/logging.h"
  6. namespace shape_detection {
  7. void BarcodeDetectionProviderImpl::CreateBarcodeDetection(
  8. mojo::PendingReceiver<shape_detection::mojom::BarcodeDetection> receiver,
  9. shape_detection::mojom::BarcodeDetectorOptionsPtr options) {
  10. DLOG(ERROR) << "Platform not supported for Barcode Detection Service.";
  11. }
  12. void BarcodeDetectionProviderImpl::EnumerateSupportedFormats(
  13. EnumerateSupportedFormatsCallback callback) {
  14. DLOG(ERROR) << "Platform not supported for Barcode Detection Service.";
  15. std::move(callback).Run({});
  16. }
  17. } // namespace shape_detection