| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ | |
| 6 #define CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ | |
| 7 | |
| 8 #include "lorgnette_manager_client.h" | |
| 9 | |
| 10 #include <gmock/gmock.h> | |
| 11 | |
| 12 namespace chromeos { | |
| 13 | |
| 14 class MockLorgnetteManagerClient : public LorgnetteManagerClient { | |
| 15 public: | |
| 16 MockLorgnetteManagerClient(); | |
| 17 virtual ~MockLorgnetteManagerClient(); | |
| 18 | |
| 19 MOCK_METHOD1(ListScanners, void(const ListScannersCallback& callback)); | |
| 20 MOCK_METHOD4(ScanImage, void(std::string device_name, | |
| 21 base::PlatformFile file, | |
| 22 const ScanProperties& properties, | |
| 23 const ScanImageCallback& callback)); | |
| 24 MOCK_METHOD1(Init, void(dbus::Bus* bus)); | |
| 25 }; | |
| 26 | |
| 27 } // namespace chromeos | |
| 28 | |
| 29 #endif // CHROMEOS_DBUS_MOCK_LORGNETTE_MANAGER_CLIENT_H_ | |
| OLD | NEW |