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

Unified Diff: device/devices_app/usb/public/cpp/device_manager_delegate.h

Issue 1316203006: Convert DeviceManagerDelegate to PermissionProvider mojo interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment and move ctor. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/devices_app/usb/public/cpp/BUILD.gn ('k') | device/devices_app/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/usb/public/cpp/device_manager_delegate.h
diff --git a/device/devices_app/usb/public/cpp/device_manager_delegate.h b/device/devices_app/usb/public/cpp/device_manager_delegate.h
deleted file mode 100644
index 6400591f4e599f6e8cd86319dc9d6d448394b056..0000000000000000000000000000000000000000
--- a/device/devices_app/usb/public/cpp/device_manager_delegate.h
+++ /dev/null
@@ -1,27 +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.
-
-#ifndef DEVICE_DEVICES_APP_USB_PUBLIC_CPP_DEVICE_MANAGER_DELEGATE_H_
-#define DEVICE_DEVICES_APP_USB_PUBLIC_CPP_DEVICE_MANAGER_DELEGATE_H_
-
-#include "device/devices_app/usb/public/interfaces/device.mojom.h"
-
-namespace device {
-namespace usb {
-
-// Interface used by DeviceManager instances to delegate certain decisions and
-// behaviors out to their embedder.
-class DeviceManagerDelegate {
- public:
- virtual ~DeviceManagerDelegate() {}
-
- // Determines whether a given device should be accessible to clients of the
- // DeviceManager instance.
- virtual bool IsDeviceAllowed(const DeviceInfo& info) = 0;
-};
-
-} // namespace usb
-} // namespace device
-
-#endif // DEVICE_DEVICES_APP_USB_PUBLIC_CPP_DEVICE_MANAGER_DELEGATE_H_
« no previous file with comments | « device/devices_app/usb/public/cpp/BUILD.gn ('k') | device/devices_app/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698