Home | History | Annotate | Download | only in dbus
      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 #include "chromeos/dbus/fake_introspectable_client.h"
      6 
      7 #include "base/callback.h"
      8 #include "base/logging.h"
      9 #include "dbus/object_path.h"
     10 
     11 namespace chromeos {
     12 
     13 FakeIntrospectableClient::FakeIntrospectableClient() {}
     14 
     15 FakeIntrospectableClient::~FakeIntrospectableClient() {}
     16 
     17 void FakeIntrospectableClient::Init(dbus::Bus* bus) {}
     18 
     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);
     24 }
     25 
     26 }  // namespace chromeos
     27