| Index: chrome/browser/extensions/api/document_scan/document_scan_interface_nonchromeos.cc
|
| diff --git a/chrome/browser/extensions/api/document_scan/document_scan_interface_nonchromeos.cc b/chrome/browser/extensions/api/document_scan/document_scan_interface_nonchromeos.cc
|
| deleted file mode 100644
|
| index cd210372f59ded0765f2ec8305f25d3f21fb57d5..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/extensions/api/document_scan/document_scan_interface_nonchromeos.cc
|
| +++ /dev/null
|
| @@ -1,44 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "chrome/browser/extensions/api/document_scan/document_scan_interface.h"
|
| -
|
| -namespace {
|
| -
|
| -const char kScanFunctionNotImplementedError[] = "Scan function not implemented";
|
| -
|
| -} // namespace
|
| -
|
| -namespace extensions {
|
| -
|
| -namespace api {
|
| -
|
| -class DocumentScanInterfaceImpl : public DocumentScanInterface {
|
| - public:
|
| - DocumentScanInterfaceImpl() {}
|
| - virtual ~DocumentScanInterfaceImpl() {}
|
| -
|
| - virtual void ListScanners(
|
| - const ListScannersResultsCallback& callback) override {
|
| - callback.Run(std::vector<ScannerDescription> (), "");
|
| - }
|
| - virtual void Scan(const std::string& scanner_name,
|
| - ScanMode mode,
|
| - int resolution_dpi,
|
| - const ScanResultsCallback& callback) override {
|
| - callback.Run("", "", kScanFunctionNotImplementedError);
|
| - }
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(DocumentScanInterfaceImpl);
|
| -};
|
| -
|
| -// static
|
| -DocumentScanInterface *DocumentScanInterface::CreateInstance() {
|
| - return new DocumentScanInterfaceImpl();
|
| -}
|
| -
|
| -} // namespace api
|
| -
|
| -} // namespace extensions
|
|
|