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

Issue 1342663003: Pass full Mojo USB DeviceInfo object with removal notifications. (Closed)

Created:
5 years, 3 months ago by Reilly Grant (use Gerrit)
Modified:
5 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass full Mojo USB DeviceInfo object with removal notifications. This change provides callers of GetDeviceChanges with the full DeviceInfo structure for the removed USB device. This makes it possible to make decisions about how to handle the removal event without caching information about devices if more than just the GUID is needed. Committed: https://crrev.com/9321ddbbec0c37f7a55b0923977aef92b1a80db4 Cr-Commit-Position: refs/heads/master@{#348998}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Switch from typedef to using. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -97 lines) Patch
M device/devices_app/usb/device_manager_impl.h View 1 3 chunks +12 lines, -8 lines 0 comments Download
M device/devices_app/usb/device_manager_impl.cc View 1 5 chunks +74 lines, -87 lines 0 comments Download
M device/devices_app/usb/device_manager_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/devices_app/usb/public/interfaces/device_manager.mojom View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 11 (4 generated)
Reilly Grant (use Gerrit)
Please take a look.
5 years, 3 months ago (2015-09-15 01:55:59 UTC) #3
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/1342663003/diff/20001/device/devices_app/usb/device_manager_impl.cc File device/devices_app/usb/device_manager_impl.cc (right): https://codereview.chromium.org/1342663003/diff/20001/device/devices_app/usb/device_manager_impl.cc#newcode30 device/devices_app/usb/device_manager_impl.cc:30: typedef std::vector<scoped_refptr<UsbDevice>> DeviceList; nit: Maybe just axe these ...
5 years, 3 months ago (2015-09-15 18:09:25 UTC) #4
Reilly Grant (use Gerrit)
https://codereview.chromium.org/1342663003/diff/20001/device/devices_app/usb/device_manager_impl.cc File device/devices_app/usb/device_manager_impl.cc (right): https://codereview.chromium.org/1342663003/diff/20001/device/devices_app/usb/device_manager_impl.cc#newcode30 device/devices_app/usb/device_manager_impl.cc:30: typedef std::vector<scoped_refptr<UsbDevice>> DeviceList; On 2015/09/15 18:09:25, Ken Rockot wrote: ...
5 years, 3 months ago (2015-09-15 19:46:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342663003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342663003/60001
5 years, 3 months ago (2015-09-15 21:11:55 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 3 months ago (2015-09-15 21:17:59 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9321ddbbec0c37f7a55b0923977aef92b1a80db4 Cr-Commit-Position: refs/heads/master@{#348998}
5 years, 3 months ago (2015-09-15 21:18:37 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:49:53 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9321ddbbec0c37f7a55b0923977aef92b1a80db4
Cr-Commit-Position: refs/heads/master@{#348998}

Powered by Google App Engine
This is Rietveld 408576698