summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_introspectable_client.cc
blob: 9b30b6f96954382a8699f49491c7d8051c9f6823 (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
// 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.

#include "chromeos/dbus/fake_introspectable_client.h"

#include "base/callback.h"
#include "base/logging.h"
#include "dbus/object_path.h"

namespace chromeos {

FakeIntrospectableClient::FakeIntrospectableClient() {}

FakeIntrospectableClient::~FakeIntrospectableClient() {}

void FakeIntrospectableClient::Init(dbus::Bus* bus) {}

void FakeIntrospectableClient::Introspect(const std::string& service_name,
                                          const dbus::ObjectPath& object_path,
                                          const IntrospectCallback& callback) {
  VLOG(1) << "Introspect: " << service_name << " " << object_path.value();
  callback.Run(service_name, object_path, "", false);
}

}  // namespace chromeos