4th attempt to land change to remove NativeViewportService and
[chromium-blink-merge.git] / chromeos / dbus / fake_permission_broker_client.cc
blob2570fa3022cb982e4cce82cc2d6b6a9914d426b3
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::RequestUsbAccess(
25 const uint16_t vendor_id,
26 const uint16_t product_id,
27 int interface_id,
28 const ResultCallback& callback) {
29 callback.Run(false);
32 } // namespace chromeos