| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stddef.h> |
| 6 |
| 5 #include "device/devices_app/usb/fake_permission_provider.h" | 7 #include "device/devices_app/usb/fake_permission_provider.h" |
| 6 | 8 |
| 7 namespace device { | 9 namespace device { |
| 8 namespace usb { | 10 namespace usb { |
| 9 | 11 |
| 10 FakePermissionProvider::FakePermissionProvider() {} | 12 FakePermissionProvider::FakePermissionProvider() {} |
| 11 | 13 |
| 12 FakePermissionProvider::~FakePermissionProvider() {} | 14 FakePermissionProvider::~FakePermissionProvider() {} |
| 13 | 15 |
| 14 void FakePermissionProvider::HasDevicePermission( | 16 void FakePermissionProvider::HasDevicePermission( |
| (...skipping 19 matching lines...) Expand all Loading... |
| 34 callback.Run(true); | 36 callback.Run(true); |
| 35 } | 37 } |
| 36 | 38 |
| 37 void FakePermissionProvider::Bind( | 39 void FakePermissionProvider::Bind( |
| 38 mojo::InterfaceRequest<PermissionProvider> request) { | 40 mojo::InterfaceRequest<PermissionProvider> request) { |
| 39 bindings_.AddBinding(this, request.Pass()); | 41 bindings_.AddBinding(this, request.Pass()); |
| 40 } | 42 } |
| 41 | 43 |
| 42 } // namespace usb | 44 } // namespace usb |
| 43 } // namespace device | 45 } // namespace device |
| OLD | NEW |