[chromedriver] Drop support for M39 and add support for M42.
[chromium-blink-merge.git] / chromeos / dbus / fake_permission_broker_client.cc
blob17d84acbf7711537341b6a1553a563f4d5254321
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_permission_broker_client.h"
7 #include "base/callback.h"
9 namespace chromeos {
11 FakePermissionBrokerClient::FakePermissionBrokerClient() {}
13 FakePermissionBrokerClient::~FakePermissionBrokerClient() {}
15 void FakePermissionBrokerClient::Init(dbus::Bus* bus) {}
17 void FakePermissionBrokerClient::RequestPathAccess(
18 const std::string& path,
19 int interface_id,
20 const ResultCallback& callback) {
21 callback.Run(false);
24 void FakePermissionBrokerClient::RequestTcpPortAccess(
25 uint16 port,
26 const std::string& interface,
27 const dbus::FileDescriptor& lifeline_fd,
28 const ResultCallback& callback) {
29 callback.Run(false);
32 void FakePermissionBrokerClient::RequestUdpPortAccess(
33 uint16 port,
34 const std::string& interface,
35 const dbus::FileDescriptor& lifeline_fd,
36 const ResultCallback& callback) {
37 callback.Run(false);
40 void FakePermissionBrokerClient::ReleaseTcpPort(
41 uint16 port,
42 const std::string& interface,
43 const ResultCallback& callback) {
44 callback.Run(false);
47 void FakePermissionBrokerClient::ReleaseUdpPort(
48 uint16 port,
49 const std::string& interface,
50 const ResultCallback& callback) {
51 callback.Run(false);
54 } // namespace chromeos