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

Unified Diff: device/usb/mojo/mock_permission_provider.h

Issue 2815003005: Integrate WebUSB with Feature Policy (Closed)
Patch Set: Rebased Created 3 years, 7 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/usb/mojo/device_impl_unittest.cc ('k') | device/usb/mojo/mock_permission_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mojo/mock_permission_provider.h
diff --git a/device/usb/mojo/mock_permission_provider.h b/device/usb/mojo/mock_permission_provider.h
index 26521e25006520137b8f79eb6e91c07950f02978..c558323a271c400385bddd8f9f43d9619bcf9686 100644
--- a/device/usb/mojo/mock_permission_provider.h
+++ b/device/usb/mojo/mock_permission_provider.h
@@ -23,13 +23,6 @@ class MockPermissionProvider : public PermissionProvider {
base::WeakPtr<PermissionProvider> GetWeakPtr();
MOCK_CONST_METHOD1(HasDevicePermission,
bool(scoped_refptr<const UsbDevice> device));
- MOCK_CONST_METHOD2(HasConfigurationPermission,
- bool(uint8_t requested_configuration,
- scoped_refptr<const UsbDevice> device));
- MOCK_CONST_METHOD3(HasFunctionPermission,
- bool(uint8_t requested_function,
- uint8_t configuration_value,
- scoped_refptr<const UsbDevice> device));
MOCK_METHOD0(IncrementConnectionCount, void());
MOCK_METHOD0(DecrementConnectionCount, void());
« no previous file with comments | « device/usb/mojo/device_impl_unittest.cc ('k') | device/usb/mojo/mock_permission_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698