diff options
author | reillyg@chromium.org <reillyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-05 22:57:31 +0000 |
---|---|---|
committer | reillyg@chromium.org <reillyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-05 22:57:31 +0000 |
commit | 459cfad8195f8ebb868d12d319b200c89149851a (patch) | |
tree | d77fe2edfdb32764564f94edb9f16ba12d2f4086 /device | |
parent | 4983b81b070f83257e5bc198eeee91c5760075da (diff) | |
download | chromium_src-459cfad8195f8ebb868d12d319b200c89149851a.zip chromium_src-459cfad8195f8ebb868d12d319b200c89149851a.tar.gz chromium_src-459cfad8195f8ebb868d12d319b200c89149851a.tar.bz2 |
usb_gadget: Switch to official Google product IDs.
These product IDs have been assigned under the Google vendor ID for
this project.
BUG=396682
Review URL: https://codereview.chromium.org/436213005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r-- | device/test/usb_test_gadget_impl.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/device/test/usb_test_gadget_impl.cc b/device/test/usb_test_gadget_impl.cc index 6667b25..59a5faa 100644 --- a/device/test/usb_test_gadget_impl.cc +++ b/device/test/usb_test_gadget_impl.cc @@ -58,10 +58,10 @@ struct UsbTestGadgetConfiguration { }; static const struct UsbTestGadgetConfiguration kConfigurations[] = { - { UsbTestGadget::DEFAULT, "/unconfigure", 0x2000 }, - { UsbTestGadget::KEYBOARD, "/keyboard/configure", 0x2001 }, - { UsbTestGadget::MOUSE, "/mouse/configure", 0x2002 }, - { UsbTestGadget::HID_ECHO, "/hid_echo/configure", 0x2003 }, + { UsbTestGadget::DEFAULT, "/unconfigure", 0x58F0 }, + { UsbTestGadget::KEYBOARD, "/keyboard/configure", 0x58F1 }, + { UsbTestGadget::MOUSE, "/mouse/configure", 0x58F2 }, + { UsbTestGadget::HID_ECHO, "/hid_echo/configure", 0x58F3 }, }; class UsbTestGadgetImpl : public UsbTestGadget { @@ -206,7 +206,7 @@ bool UsbTestGadgetImpl::FindUnclaimed() { for (std::vector<scoped_refptr<UsbDevice> >::const_iterator iter = devices.begin(); iter != devices.end(); ++iter) { const scoped_refptr<UsbDevice> &device = *iter; - if (device->vendor_id() == 0x18D1 && device->product_id() == 0x2000) { + if (device->vendor_id() == 0x18D1 && device->product_id() == 0x58F0) { scoped_refptr<UsbDeviceHandle> handle = device->Open(); if (handle.get() == NULL) { continue; |