Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chromeos / dbus / fake_privet_daemon_manager_client.cc
blob98d0fba0843ebdd0a0f3ec95e15c1355a05633ff
1 // Copyright 2015 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_privet_daemon_manager_client.h"
7 #include "base/location.h"
8 #include "base/thread_task_runner_handle.h"
10 namespace chromeos {
12 FakePrivetDaemonManagerClient::FakePrivetDaemonManagerClient() {
15 FakePrivetDaemonManagerClient::~FakePrivetDaemonManagerClient() {
18 void FakePrivetDaemonManagerClient::Init(dbus::Bus* bus) {
21 void FakePrivetDaemonManagerClient::AddObserver(Observer* observer) {
24 void FakePrivetDaemonManagerClient::RemoveObserver(Observer* observer) {
27 void FakePrivetDaemonManagerClient::SetDescription(
28 const std::string& description,
29 const VoidDBusMethodCallback& callback) {
30 base::ThreadTaskRunnerHandle::Get()->PostTask(
31 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS));
34 const PrivetDaemonManagerClient::Properties*
35 FakePrivetDaemonManagerClient::GetProperties() {
36 return nullptr;
39 } // namespace chromeos