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"
11 FakePermissionBrokerClient::FakePermissionBrokerClient() {}
13 FakePermissionBrokerClient::~FakePermissionBrokerClient() {}
15 void FakePermissionBrokerClient::Init(dbus::Bus
* bus
) {}
17 void FakePermissionBrokerClient::RequestPathAccess(
18 const std::string
& path
,
20 const ResultCallback
& callback
) {
24 void FakePermissionBrokerClient::RequestTcpPortAccess(
26 const std::string
& interface
,
27 const dbus::FileDescriptor
& lifeline_fd
,
28 const ResultCallback
& callback
) {
32 void FakePermissionBrokerClient::RequestUdpPortAccess(
34 const std::string
& interface
,
35 const dbus::FileDescriptor
& lifeline_fd
,
36 const ResultCallback
& callback
) {
40 void FakePermissionBrokerClient::ReleaseTcpPort(
42 const std::string
& interface
,
43 const ResultCallback
& callback
) {
47 void FakePermissionBrokerClient::ReleaseUdpPort(
49 const std::string
& interface
,
50 const ResultCallback
& callback
) {
54 } // namespace chromeos