Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chromeos / dbus / fake_introspectable_client.cc
blob9b30b6f96954382a8699f49491c7d8051c9f6823
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.
5 #include "chromeos/dbus/fake_introspectable_client.h"
7 #include "base/callback.h"
8 #include "base/logging.h"
9 #include "dbus/object_path.h"
11 namespace chromeos {
13 FakeIntrospectableClient::FakeIntrospectableClient() {}
15 FakeIntrospectableClient::~FakeIntrospectableClient() {}
17 void FakeIntrospectableClient::Init(dbus::Bus* bus) {}
19 void FakeIntrospectableClient::Introspect(const std::string& service_name,
20 const dbus::ObjectPath& object_path,
21 const IntrospectCallback& callback) {
22 VLOG(1) << "Introspect: " << service_name << " " << object_path.value();
23 callback.Run(service_name, object_path, "", false);
26 } // namespace chromeos