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

Unified Diff: chrome/browser/usb/usb_chooser_controller_unittest.cc

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 | « chrome/browser/usb/usb_chooser_controller.cc ('k') | chrome/browser/usb/usb_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/usb/usb_chooser_controller_unittest.cc
diff --git a/chrome/browser/usb/usb_chooser_controller_unittest.cc b/chrome/browser/usb/usb_chooser_controller_unittest.cc
index 76622ddd2d27eeac45c8851a024f46b443d499d9..8e63cd51a2f5ddc4356dd07a54ed30202d8f3894 100644
--- a/chrome/browser/usb/usb_chooser_controller_unittest.cc
+++ b/chrome/browser/usb/usb_chooser_controller_unittest.cc
@@ -64,10 +64,6 @@ class UsbChooserControllerTest : public ChromeRenderViewHostTestHarness {
const std::string& serial_number) {
scoped_refptr<device::MockUsbDevice> device(new device::MockUsbDevice(
0, 1, "Google", product_string, serial_number));
- std::unique_ptr<device::WebUsbAllowedOrigins> webusb_allowed_origins(
- new device::WebUsbAllowedOrigins());
- webusb_allowed_origins->origins.push_back(GURL(kDefaultTestUrl));
- device->set_webusb_allowed_origins(std::move(webusb_allowed_origins));
return device;
}
« no previous file with comments | « chrome/browser/usb/usb_chooser_controller.cc ('k') | chrome/browser/usb/usb_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698