1 // Copyright (c) 2013 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_FAKE_IMAGE_BURNER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_IMAGE_BURNER_CLIENT_H_
10 #include "chromeos/dbus/image_burner_client.h"
14 // A fake implemetation of ImageBurnerClient. This class does nothing.
15 class CHROMEOS_EXPORT FakeImageBurnerClient
: public ImageBurnerClient
{
17 FakeImageBurnerClient();
18 ~FakeImageBurnerClient() override
;
20 // ImageBurnerClient overrides
21 void Init(dbus::Bus
* bus
) override
;
22 void BurnImage(const std::string
& from_path
,
23 const std::string
& to_path
,
24 const ErrorCallback
& error_callback
) override
;
25 void SetEventHandlers(
26 const BurnFinishedHandler
& burn_finished_handler
,
27 const BurnProgressUpdateHandler
& burn_progress_update_handler
) override
;
28 void ResetEventHandlers() override
;
31 DISALLOW_COPY_AND_ASSIGN(FakeImageBurnerClient
);
34 } // namespace chromeos
36 #endif // CHROMEOS_DBUS_FAKE_IMAGE_BURNER_CLIENT_H_