OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
12 #include "chromeos/dbus/debug_daemon_client.h" | 14 #include "chromeos/dbus/debug_daemon_client.h" |
13 | 15 |
14 namespace chromeos { | 16 namespace chromeos { |
15 | 17 |
16 // The DebugDaemonClient implementation used on Linux desktop, | 18 // The DebugDaemonClient implementation used on Linux desktop, |
17 // which does nothing. | 19 // which does nothing. |
18 class CHROMEOS_EXPORT FakeDebugDaemonClient : public DebugDaemonClient { | 20 class CHROMEOS_EXPORT FakeDebugDaemonClient : public DebugDaemonClient { |
19 public: | 21 public: |
20 FakeDebugDaemonClient(); | 22 FakeDebugDaemonClient(); |
21 ~FakeDebugDaemonClient() override; | 23 ~FakeDebugDaemonClient() override; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 bool service_is_available_; | 79 bool service_is_available_; |
78 std::vector<WaitForServiceToBeAvailableCallback> | 80 std::vector<WaitForServiceToBeAvailableCallback> |
79 pending_wait_for_service_to_be_available_callbacks_; | 81 pending_wait_for_service_to_be_available_callbacks_; |
80 | 82 |
81 DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient); | 83 DISALLOW_COPY_AND_ASSIGN(FakeDebugDaemonClient); |
82 }; | 84 }; |
83 | 85 |
84 } // namespace chromeos | 86 } // namespace chromeos |
85 | 87 |
86 #endif // CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ | 88 #endif // CHROMEOS_DBUS_FAKE_DEBUG_DAEMON_CLIENT_H_ |
OLD | NEW |