Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: chromeos/dbus/fake_image_burner_client.h

Issue 13890017: dbus:Add FakeImageBurnerClient FakeSystemClockClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/fake_image_burner_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CHROMEOS_DBUS_FAKE_IMAGE_BURNER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_IMAGE_BURNER_CLIENT_H_
7
8 #include <string>
9
10 #include "chromeos/dbus/image_burner_client.h"
11
12 namespace chromeos {
13
14 // A fake implemetation of ImageBurnerClient. This class does nothing.
15 class FakeImageBurnerClient : public ImageBurnerClient {
16 public:
17 FakeImageBurnerClient();
18 virtual ~FakeImageBurnerClient();
19
20 // ImageBurnerClient overrides.
21 virtual void BurnImage(const std::string& from_path,
22 const std::string& to_path,
23 const ErrorCallback& error_callback) OVERRIDE;
24 virtual void SetEventHandlers(
25 const BurnFinishedHandler& burn_finished_handler,
26 const BurnProgressUpdateHandler& burn_progress_update_handler) OVERRIDE;
27 virtual void ResetEventHandlers() OVERRIDE;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(FakeImageBurnerClient);
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROMEOS_DBUS_FAKE_IMAGE_BURNER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/fake_image_burner_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698