| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMEOS_DBUS_FAKE_INTROSPECTABLE_CLIENT_H_ | |
| 6 #define CHROMEOS_DBUS_FAKE_INTROSPECTABLE_CLIENT_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "chromeos/dbus/introspectable_client.h" | |
| 10 | |
| 11 namespace chromeos { | |
| 12 | |
| 13 // The IntrospectableClient implementation used on Linux desktop, which does | |
| 14 // nothing. | |
| 15 class FakeIntrospectableClient: public IntrospectableClient { | |
| 16 public: | |
| 17 FakeIntrospectableClient(); | |
| 18 ~FakeIntrospectableClient() override; | |
| 19 | |
| 20 void Init(dbus::Bus* bus) override; | |
| 21 void Introspect(const std::string& service_name, | |
| 22 const dbus::ObjectPath& object_path, | |
| 23 const IntrospectCallback& callback) override; | |
| 24 }; | |
| 25 | |
| 26 } // namespace chromeos | |
| 27 | |
| 28 #endif // CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_ | |
| OLD | NEW |