blob: 98d0fba0843ebdd0a0f3ec95e15c1355a05633ff (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Copyright 2015 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_privet_daemon_manager_client.h"
#include "base/location.h"
#include "base/thread_task_runner_handle.h"
namespace chromeos {
FakePrivetDaemonManagerClient::FakePrivetDaemonManagerClient() {
}
FakePrivetDaemonManagerClient::~FakePrivetDaemonManagerClient() {
}
void FakePrivetDaemonManagerClient::Init(dbus::Bus* bus) {
}
void FakePrivetDaemonManagerClient::AddObserver(Observer* observer) {
}
void FakePrivetDaemonManagerClient::RemoveObserver(Observer* observer) {
}
void FakePrivetDaemonManagerClient::SetDescription(
const std::string& description,
const VoidDBusMethodCallback& callback) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS));
}
const PrivetDaemonManagerClient::Properties*
FakePrivetDaemonManagerClient::GetProperties() {
return nullptr;
}
} // namespace chromeos
|