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

Issue 2878653002: Remove base::NonThreadSafe from //device/generic_sensor/ (Closed)

Created:
3 years, 7 months ago by ke.he
Modified:
3 years, 7 months ago
CC:
chromium-reviews, wanming.lin, shalamov, Mikhail
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove base::NonThreadSafe from //device/generic_sensor/ Uses base::ThreadChecker instead. BUG=341945 Review-Url: https://codereview.chromium.org/2878653002 Cr-Commit-Position: refs/heads/master@{#472001} Committed: https://chromium.googlesource.com/chromium/src/+/1d1971a0a142a71f3cb66aa36198fbb9671c9910

Patch Set 1 #

Patch Set 2 : Remove base::NonThreadSafe from //device/generic_sensor/ #

Total comments: 2

Patch Set 3 : Remove base::NonThreadSafe from //device/generic_sensor/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -39 lines) Patch
M device/generic_sensor/linux/sensor_device_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M device/generic_sensor/linux/sensor_device_manager.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M device/generic_sensor/platform_sensor_provider_base.h View 3 chunks +4 lines, -3 lines 0 comments Download
M device/generic_sensor/platform_sensor_provider_base.cc View 1 2 5 chunks +11 lines, -8 lines 0 comments Download
M device/generic_sensor/platform_sensor_provider_linux.cc View 1 9 chunks +13 lines, -13 lines 0 comments Download
M device/generic_sensor/platform_sensor_provider_win.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M device/generic_sensor/platform_sensor_reader_linux.h View 1 1 chunk +1 line, -1 line 0 comments Download
M device/generic_sensor/platform_sensor_reader_linux.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
ke.he
Hi, Alexander, PTAL, thanks. I'm working on the servicification of generic_sensor, trybots complains that base::NonThreadSafe ...
3 years, 7 months ago (2017-05-11 14:22:42 UTC) #10
ke.he
friendly ping:)
3 years, 7 months ago (2017-05-15 09:42:24 UTC) #12
shalamov
I'm not sure how this CL is fixing anything related to Bug 689384. Also, PlatformSensorProviderBase ...
3 years, 7 months ago (2017-05-15 10:08:00 UTC) #14
ke.he
On 2017/05/15 10:08:00, shalamov wrote: > I'm not sure how this CL is fixing anything ...
3 years, 7 months ago (2017-05-15 10:51:20 UTC) #16
Reilly Grant (use Gerrit)
lgtm with nit https://codereview.chromium.org/2878653002/diff/20001/device/generic_sensor/platform_sensor_provider_base.cc File device/generic_sensor/platform_sensor_provider_base.cc (right): https://codereview.chromium.org/2878653002/diff/20001/device/generic_sensor/platform_sensor_provider_base.cc#newcode23 device/generic_sensor/platform_sensor_provider_base.cc:23: DETACH_FROM_THREAD(thread_checker_); No need to add a ...
3 years, 7 months ago (2017-05-15 15:23:36 UTC) #17
Alexander Shalamov
On 2017/05/15 10:51:20, ke.he wrote: > On 2017/05/15 10:08:00, shalamov wrote: > > I'm not ...
3 years, 7 months ago (2017-05-15 15:40:13 UTC) #18
ke.he
Thanks all! https://codereview.chromium.org/2878653002/diff/20001/device/generic_sensor/platform_sensor_provider_base.cc File device/generic_sensor/platform_sensor_provider_base.cc (right): https://codereview.chromium.org/2878653002/diff/20001/device/generic_sensor/platform_sensor_provider_base.cc#newcode23 device/generic_sensor/platform_sensor_provider_base.cc:23: DETACH_FROM_THREAD(thread_checker_); On 2017/05/15 15:23:35, Reilly Grant wrote: ...
3 years, 7 months ago (2017-05-16 03:09:22 UTC) #23
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/2878653002/40001
3 years, 7 months ago (2017-05-16 03:09:50 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 03:14:40 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1d1971a0a142a71f3cb66aa36198...

Powered by Google App Engine
This is Rietveld 408576698