Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: device/devices_app/usb/public/interfaces/permission_provider.mojom

Issue 1682363002: Remove //device/devices_app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove two files that somehow survived in //device/devices_app. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/devices_app/usb/public/interfaces/permission_provider.mojom
diff --git a/device/devices_app/usb/public/interfaces/permission_provider.mojom b/device/devices_app/usb/public/interfaces/permission_provider.mojom
deleted file mode 100644
index f5d71110e581b3e5ca243055b6d027a4514b1ae1..0000000000000000000000000000000000000000
--- a/device/devices_app/usb/public/interfaces/permission_provider.mojom
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module device.usb;
-
-import "device.mojom";
-
-interface PermissionProvider {
- // Filters a set of |requested_devices| down to the set of |allowed_guids|
- // that should be accessible to clients of the DeviceManager instance.
- HasDevicePermission(array<DeviceInfo> requested_devices)
- => (array<string> allowed_guids);
-
- // Returns whether or not the client has permission to access
- // |requested_configuration| on |device|.
- HasConfigurationPermission(uint8 requested_configuration,
- DeviceInfo device) => (bool allowed);
-
- // Returns whether or not the client has permission to access
- // |requested_interface| on |device| when it is in configuration
- // |configuration_value|.
- HasInterfacePermission(uint8 requested_interface,
- uint8 configuration_value,
- DeviceInfo device) => (bool allowed);
-
- // Requests a new binding to this service.
- Bind(PermissionProvider& request);
-};
« no previous file with comments | « device/devices_app/usb/public/interfaces/device_manager.mojom ('k') | device/devices_app/usb/type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698