Don't preload rarely seen large images
[chromium-blink-merge.git] / chromeos / dbus / mock_lorgnette_manager_client.h
blob5ac460bb7eba408dd17eca84bc630f87848e9cbd
1 // Copyright 2014 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.
5 #ifndef CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_
8 #include "lorgnette_manager_client.h"
10 #include <gmock/gmock.h>
12 namespace chromeos {
14 class MockLorgnetteManagerClient : public LorgnetteManagerClient {
15 public:
16 MockLorgnetteManagerClient();
17 ~MockLorgnetteManagerClient() override;
19 MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback));
20 MOCK_METHOD4(ScanImageToFile, void(std::string device_name,
21 const ScanProperties& properties,
22 const ScanImageToFileCallback& callback,
23 base::File* file));
24 MOCK_METHOD3(ScanImageToString,
25 void(std::string device_name,
26 const ScanProperties& properties,
27 const ScanImageToStringCallback& callback));
28 MOCK_METHOD1(Init, void(dbus::Bus* bus));
31 } // namespace chromeos
33 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_