summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_introspectable_client.h
blob: d16a6cba8b1749e34ceb687123d06c6ecbc61460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROMEOS_DBUS_FAKE_INTROSPECTABLE_CLIENT_H_
#define CHROMEOS_DBUS_FAKE_INTROSPECTABLE_CLIENT_H_

#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chromeos/dbus/introspectable_client.h"

namespace chromeos {

// The IntrospectableClient implementation used on Linux desktop, which does
// nothing.
class FakeIntrospectableClient: public IntrospectableClient {
 public:
  FakeIntrospectableClient();
  ~FakeIntrospectableClient() override;

  void Init(dbus::Bus* bus) override;
  void Introspect(const std::string& service_name,
                  const dbus::ObjectPath& object_path,
                  const IntrospectCallback& callback) override;
};

}  // namespace chromeos

#endif  // CHROMEOS_DBUS_INTROSPECTABLE_CLIENT_H_