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_
10 #include "chromeos/dbus/image_burner_client.h"
11 #include "testing/gmock/include/gmock/gmock.h"
15 class MockImageBurnerClient
: public ImageBurnerClient
{
17 MockImageBurnerClient();
18 virtual ~MockImageBurnerClient();
20 MOCK_METHOD3(BurnImage
, void(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_