Roll src/third_party/WebKit f0fc3a1:b92951d (svn 201688:201689)
[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