| 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 "device/devices_app/usb/fake_permission_provider.h" | 5 #include "device/usb/mojo/fake_permission_provider.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 namespace device { | 10 namespace device { |
| 11 namespace usb { | 11 namespace usb { |
| 12 | 12 |
| 13 FakePermissionProvider::FakePermissionProvider() {} | 13 FakePermissionProvider::FakePermissionProvider() {} |
| 14 | 14 |
| 15 FakePermissionProvider::~FakePermissionProvider() {} | 15 FakePermissionProvider::~FakePermissionProvider() {} |
| (...skipping 21 matching lines...) Expand all Loading... |
| 37 callback.Run(true); | 37 callback.Run(true); |
| 38 } | 38 } |
| 39 | 39 |
| 40 void FakePermissionProvider::Bind( | 40 void FakePermissionProvider::Bind( |
| 41 mojo::InterfaceRequest<PermissionProvider> request) { | 41 mojo::InterfaceRequest<PermissionProvider> request) { |
| 42 bindings_.AddBinding(this, std::move(request)); | 42 bindings_.AddBinding(this, std::move(request)); |
| 43 } | 43 } |
| 44 | 44 |
| 45 } // namespace usb | 45 } // namespace usb |
| 46 } // namespace device | 46 } // namespace device |
| OLD | NEW |