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

Issue 771393002: Migrate HidServiceLinux and HidConnectionLinux to BrowserThread::UI. (Closed)

Created:
6 years ago by Reilly Grant (use Gerrit)
Modified:
6 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Migrate HidServiceLinux and HidConnectionLinux to BrowserThread::UI. This patch is a follow-up to https://crrev.com/e8fa00efd0965a7eb5816a that moves the HidService and HidConnection implementations on Linux from the browser's FILE thread to the UI thread. This is being done because the HID APIs on platforms other than Linux are more natural to use on the UI thread. The users of these objects are also usually on the UI thread. (For example, the extension API bindings.) BUG=422540 Committed: https://crrev.com/56868deb02c83ade521fa482e2d03b9319162ae9 Cr-Commit-Position: refs/heads/master@{#306729}

Patch Set 1 : #

Patch Set 2 : Fix HID receive buffer size. #

Total comments: 8

Patch Set 3 : Switched to an embedded thread checker. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+510 lines, -307 lines) Patch
M chrome/browser/chrome_device_client.cc View 1 chunk +1 line, -3 lines 0 comments Download
M device/hid/hid_connection_linux.h View 2 chunks +52 lines, -10 lines 0 comments Download
M device/hid/hid_connection_linux.cc View 1 2 6 chunks +174 lines, -100 lines 0 comments Download
M device/hid/hid_connection_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M device/hid/hid_device_info.h View 1 chunk +4 lines, -0 lines 0 comments Download
M device/hid/hid_service.h View 1 chunk +1 line, -2 lines 0 comments Download
M device/hid/hid_service.cc View 1 2 4 chunks +3 lines, -6 lines 0 comments Download
M device/hid/hid_service_linux.h View 1 2 1 chunk +24 lines, -14 lines 0 comments Download
M device/hid/hid_service_linux.cc View 1 2 2 chunks +231 lines, -148 lines 0 comments Download
M device/hid/hid_service_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/api/hid/hid_api.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M extensions/browser/api/hid/hid_apitest.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M extensions/browser/api/hid/hid_connection_resource.h View 1 chunk +4 lines, -5 lines 0 comments Download
M extensions/browser/api/hid/hid_device_manager.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M extensions/shell/browser/shell_device_client.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Reilly Grant (use Gerrit)
PTAL
6 years ago (2014-12-03 06:18:05 UTC) #3
Reilly Grant (use Gerrit)
The Chrome OS issue has been resolved. This patch is ready to review.
6 years ago (2014-12-03 22:09:20 UTC) #4
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/771393002/diff/40001/device/hid/hid_connection_linux.cc File device/hid/hid_connection_linux.cc (right): https://codereview.chromium.org/771393002/diff/40001/device/hid/hid_connection_linux.cc#newcode35 device/hid/hid_connection_linux.cc:35: public base::NonThreadSafe { nit: I think you can ...
6 years ago (2014-12-03 22:35:10 UTC) #5
Reilly Grant (use Gerrit)
https://codereview.chromium.org/771393002/diff/40001/device/hid/hid_connection_linux.cc File device/hid/hid_connection_linux.cc (right): https://codereview.chromium.org/771393002/diff/40001/device/hid/hid_connection_linux.cc#newcode35 device/hid/hid_connection_linux.cc:35: public base::NonThreadSafe { On 2014/12/03 22:35:09, Ken Rockot wrote: ...
6 years ago (2014-12-03 23:10:28 UTC) #7
Reilly Grant (use Gerrit)
thestig, please take a look at the chrome_device_client.cc update.
6 years ago (2014-12-03 23:23:08 UTC) #9
Lei Zhang
lgtm
6 years ago (2014-12-03 23:29:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/771393002/80001
6 years ago (2014-12-03 23:39:08 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:80001)
6 years ago (2014-12-04 00:26:37 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-04 00:27:54 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/56868deb02c83ade521fa482e2d03b9319162ae9
Cr-Commit-Position: refs/heads/master@{#306729}

Powered by Google App Engine
This is Rietveld 408576698