Don't preload rarely seen large images
[chromium-blink-merge.git] / chromeos / dbus / fake_peer_daemon_manager_client.cc
blob7424ebcb452878581ff97c733accc21c85b26c42
1 // Copyright 2014 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_peer_daemon_manager_client.h"
7 namespace chromeos {
9 FakePeerDaemonManagerClient::FakePeerDaemonManagerClient() {
12 FakePeerDaemonManagerClient::~FakePeerDaemonManagerClient() {
15 void FakePeerDaemonManagerClient::Init(dbus::Bus* bus) {
18 void FakePeerDaemonManagerClient::AddObserver(Observer* observer) {
21 void FakePeerDaemonManagerClient::RemoveObserver(Observer* observer) {
24 std::vector<dbus::ObjectPath> FakePeerDaemonManagerClient::GetPeers() {
25 return std::vector<dbus::ObjectPath>();
28 std::vector<dbus::ObjectPath> FakePeerDaemonManagerClient::GetServices() {
29 return std::vector<dbus::ObjectPath>();
32 PeerDaemonManagerClient::PeerProperties*
33 FakePeerDaemonManagerClient::GetPeerProperties(
34 const dbus::ObjectPath& object_path) {
35 return nullptr;
38 PeerDaemonManagerClient::ServiceProperties*
39 FakePeerDaemonManagerClient::GetServiceProperties(
40 const dbus::ObjectPath& object_path) {
41 return nullptr;
44 void FakePeerDaemonManagerClient::StartMonitoring(
45 const std::vector<std::string>& requested_technologies,
46 const base::DictionaryValue& options,
47 const StringDBusMethodCallback& callback) {
48 callback.Run(DBUS_METHOD_CALL_SUCCESS, "");
51 void FakePeerDaemonManagerClient::StopMonitoring(
52 const std::string& monitoring_token,
53 const VoidDBusMethodCallback& callback) {
54 callback.Run(DBUS_METHOD_CALL_SUCCESS);
57 void FakePeerDaemonManagerClient::ExposeService(
58 const std::string& service_id,
59 const std::map<std::string, std::string>& service_info,
60 const base::DictionaryValue& options,
61 const StringDBusMethodCallback& callback) {
62 callback.Run(DBUS_METHOD_CALL_SUCCESS, "");
65 void FakePeerDaemonManagerClient::RemoveExposedService(
66 const std::string& service_token,
67 const VoidDBusMethodCallback& callback) {
68 callback.Run(DBUS_METHOD_CALL_SUCCESS);
71 void FakePeerDaemonManagerClient::Ping(
72 const StringDBusMethodCallback& callback) {
73 callback.Run(DBUS_METHOD_CALL_SUCCESS, "");
76 } // namespace chromeos