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

Issue 2234443002: Mojo C++ binding: make device/usb mojom targets use STD string/vector types (Closed)

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

Description

Mojo C++ binding: make device/usb mojom targets use STD string/vector types BUG=624136 Committed: https://crrev.com/1d90ae44053b41fae6c202e9183b7c3ee795bc6c Cr-Commit-Position: refs/heads/master@{#412092}

Patch Set 1 #

Patch Set 2 : Fix android build. #

Total comments: 5

Patch Set 3 : Move the vector converter into a private header. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -141 lines) Patch
M chrome/browser/android/usb/web_usb_chooser_service_android.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/android/usb/web_usb_chooser_service_android.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/usb_chooser_dialog_android.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/android/usb_chooser_dialog_android.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/usb/web_usb_chooser_service.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/usb/web_usb_chooser_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/usb/mojo/device_impl.h View 3 chunks +6 lines, -5 lines 0 comments Download
M device/usb/mojo/device_impl.cc View 13 chunks +40 lines, -50 lines 0 comments Download
M device/usb/mojo/device_impl_unittest.cc View 1 2 8 chunks +25 lines, -22 lines 0 comments Download
M device/usb/mojo/device_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M device/usb/mojo/device_manager_impl.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M device/usb/mojo/device_manager_impl_unittest.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M device/usb/mojo/type_converters.h View 1 2 3 chunks +13 lines, -3 lines 1 comment Download
M device/usb/mojo/type_converters.cc View 5 chunks +10 lines, -7 lines 0 comments Download
M device/usb/public/interfaces/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/common/common_type_converters.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USB.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USB.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.h View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.cpp View 13 chunks +20 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBInTransferResult.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (20 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years, 4 months ago (2016-08-10 00:59:04 UTC) #8
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2234443002/diff/20001/device/usb/mojo/device_impl.cc File device/usb/mojo/device_impl.cc (right): https://codereview.chromium.org/2234443002/diff/20001/device/usb/mojo/device_impl.cc#newcode35 device/usb/mojo/device_impl.cc:35: void OnTransferIn(std::unique_ptr<Device::GenericTransferInCallback> callback, Optional nit(s): As discussed, I ...
4 years, 4 months ago (2016-08-10 01:38:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2234443002/20001
4 years, 4 months ago (2016-08-10 06:45:54 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/234727)
4 years, 4 months ago (2016-08-10 06:52:49 UTC) #15
Reilly Grant (use Gerrit)
bauerb@, please take a look at //chrome/browser/android and //chrome/browser/ui/android. dcheng@, please take a look //mojo/common/common_type_converters.h.
4 years, 4 months ago (2016-08-10 18:02:31 UTC) #17
Reilly Grant (use Gerrit)
Adding dcheng@ for real this time.
4 years, 4 months ago (2016-08-10 20:24:49 UTC) #19
Bernhard Bauer
Android LGTM.
4 years, 4 months ago (2016-08-11 11:01:29 UTC) #20
dcheng
https://codereview.chromium.org/2234443002/diff/20001/device/usb/mojo/device_manager_impl_unittest.cc File device/usb/mojo/device_manager_impl_unittest.cc (right): https://codereview.chromium.org/2234443002/diff/20001/device/usb/mojo/device_manager_impl_unittest.cc#newcode127 device/usb/mojo/device_manager_impl_unittest.cc:127: options->filters.emplace(); ? Isn't option->filters a vector here? How does ...
4 years, 4 months ago (2016-08-15 18:18:16 UTC) #21
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2234443002/diff/20001/device/usb/mojo/device_manager_impl_unittest.cc File device/usb/mojo/device_manager_impl_unittest.cc (right): https://codereview.chromium.org/2234443002/diff/20001/device/usb/mojo/device_manager_impl_unittest.cc#newcode127 device/usb/mojo/device_manager_impl_unittest.cc:127: options->filters.emplace(); On 2016/08/15 at 18:18:15, dcheng wrote: > ? ...
4 years, 4 months ago (2016-08-15 21:39:02 UTC) #22
dcheng
LGTM but I hope we can fix the typemapping issue sooner rather than later, to ...
4 years, 4 months ago (2016-08-15 21:41:28 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2234443002/40001
4 years, 4 months ago (2016-08-15 23:21:29 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-15 23:27:07 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 23:29:09 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1d90ae44053b41fae6c202e9183b7c3ee795bc6c
Cr-Commit-Position: refs/heads/master@{#412092}

Powered by Google App Engine
This is Rietveld 408576698