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

Side by Side Diff: device/devices_app/usb/public/interfaces/permission_provider.mojom

Issue 1316203006: Convert DeviceManagerDelegate to PermissionProvider mojo interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module device.usb;
6
7 import "device.mojom";
8
9 interface PermissionProvider {
10 // filters a set of |requested_guids| down to the set of |allowed_guids| that
Ken Rockot(use gerrit already) 2015/09/02 22:42:33 nit: Filters
Reilly Grant (use Gerrit) 2015/09/02 23:58:19 Done.
11 // should be accessible to clients of the DeviceManager instance.
12 HasDevicePermission(array<string> requested_guids) => (array<string> allowed_g uids);
Ken Rockot(use gerrit already) 2015/09/02 22:42:33 nit: > 80 chars Preferred wrapping for mojom would
Reilly Grant (use Gerrit) 2015/09/02 23:58:19 Done.
13 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698