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

Unified Diff: chrome/browser/devtools/device/usb/android_usb_browsertest.cc

Issue 1369643002: Add configuration and interface permission checks to DeviceImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new method ot Android USB mocks. 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
Index: chrome/browser/devtools/device/usb/android_usb_browsertest.cc
diff --git a/chrome/browser/devtools/device/usb/android_usb_browsertest.cc b/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
index bd98e9acde79e261bf5cd0eda54f04b48c421007..64a8c3366c78a0a579169caae3b4965a091400d3 100644
--- a/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
+++ b/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
@@ -223,6 +223,12 @@ class MockUsbDeviceHandle : public UsbDeviceHandle {
}
}
+ bool FindInterfaceByEndpoint(uint8_t endpoint_address,
+ uint8_t* interface_number) {
+ NOTIMPLEMENTED();
+ return false;
+ }
+
template <class D>
void append(D data) {
std::copy(reinterpret_cast<char*>(&data),
« no previous file with comments | « no previous file | chrome/browser/usb/web_usb_permission_provider.h » ('j') | chrome/browser/usb/web_usb_permission_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698