Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / chromeos / dbus / mock_image_burner_client.h
blob63e3211c3978d78a8b833cd7c48180fa5b5d7278
1 // Copyright (c) 2012 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_IMAGE_BURNER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_IMAGE_BURNER_CLIENT_H_
8 #include <string>
10 #include "chromeos/dbus/image_burner_client.h"
11 #include "testing/gmock/include/gmock/gmock.h"
13 namespace chromeos {
15 class MockImageBurnerClient : public ImageBurnerClient {
16 public:
17 MockImageBurnerClient();
18 virtual ~MockImageBurnerClient();
20 MOCK_METHOD3(BurnImage, void(const std::string&,
21 const std::string&,
22 const ErrorCallback&));
23 MOCK_METHOD2(SetEventHandlers, void(const BurnFinishedHandler&,
24 const BurnProgressUpdateHandler&));
25 MOCK_METHOD0(ResetEventHandlers, void());
29 } // namespace chromeos
31 #endif // CHROMEOS_DBUS_MOCK_IMAGE_BURNER_CLIENT_H_