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

Issue 2452083002: [Device Sensors] Remove BrowserThread knowledge (Closed)

Created:
4 years, 1 month ago by blundell
Modified:
4 years, 1 month ago
Reviewers:
timvolodine
CC:
chromium-reviews, riju_, jam, darin-cc_chromium.org, timvolodine, mlamouri+watch-sensors_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Device Sensors] Remove BrowserThread knowledge Following the restructuring of Device Sensors Mojo communication to occur on the UI thread on Android, it is now totally straightforward to remove content::BrowserThread knowledge from the Device Sensors code. This change will facilitate moving //content/browser/device_sensors to //device/sensors in a followup as part of the servicification of //content's device-related code. BUG=612322 Committed: https://crrev.com/8a86a47aa16fcc5236bef6f4e99e1880c180fd4f Cr-Commit-Position: refs/heads/master@{#432825}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Patch Set 3 : Response to review #

Patch Set 4 : Fix build #

Total comments: 2

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -21 lines) Patch
M content/browser/device_sensors/device_sensor_host.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/device_sensors/sensor_manager_android.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/device_sensors/sensor_manager_android.cc View 1 2 3 15 chunks +16 lines, -16 lines 0 comments Download
M content/browser/device_sensors/sensor_manager_android_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (22 generated)
blundell
4 years, 1 month ago (2016-10-26 16:47:17 UTC) #6
blundell
ping :)
4 years, 1 month ago (2016-10-27 23:39:35 UTC) #7
timvolodine
https://codereview.chromium.org/2452083002/diff/1/content/browser/device_sensors/sensor_manager_android.cc File content/browser/device_sensors/sensor_manager_android.cc (right): https://codereview.chromium.org/2452083002/diff/1/content/browser/device_sensors/sensor_manager_android.cc#newcode60 content/browser/device_sensors/sensor_manager_android.cc:60: DCHECK(thread_checker_.CalledOnValidThread()); can we add an explicit UI thread check ...
4 years, 1 month ago (2016-10-31 15:52:47 UTC) #8
blundell
Thanks! https://codereview.chromium.org/2452083002/diff/1/content/browser/device_sensors/sensor_manager_android.cc File content/browser/device_sensors/sensor_manager_android.cc (right): https://codereview.chromium.org/2452083002/diff/1/content/browser/device_sensors/sensor_manager_android.cc#newcode60 content/browser/device_sensors/sensor_manager_android.cc:60: DCHECK(thread_checker_.CalledOnValidThread()); On 2016/10/31 15:52:46, timvolodine wrote: > can ...
4 years, 1 month ago (2016-11-09 16:00:46 UTC) #17
timvolodine
lgtm (with a question). thanks! https://codereview.chromium.org/2452083002/diff/60001/content/browser/device_sensors/device_sensor_host.cc File content/browser/device_sensors/device_sensor_host.cc (left): https://codereview.chromium.org/2452083002/diff/60001/content/browser/device_sensors/device_sensor_host.cc#oldcode8 content/browser/device_sensors/device_sensor_host.cc:8: #include "content/public/browser/browser_thread.h" actually a ...
4 years, 1 month ago (2016-11-10 16:43:05 UTC) #18
blundell
https://codereview.chromium.org/2452083002/diff/60001/content/browser/device_sensors/device_sensor_host.cc File content/browser/device_sensors/device_sensor_host.cc (left): https://codereview.chromium.org/2452083002/diff/60001/content/browser/device_sensors/device_sensor_host.cc#oldcode8 content/browser/device_sensors/device_sensor_host.cc:8: #include "content/public/browser/browser_thread.h" On 2016/11/10 16:43:04, timvolodine wrote: > actually ...
4 years, 1 month ago (2016-11-15 09:09:09 UTC) #19
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/2452083002/80001
4 years, 1 month ago (2016-11-16 15:58:23 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/316034)
4 years, 1 month ago (2016-11-16 20:03:20 UTC) #28
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/2452083002/80001
4 years, 1 month ago (2016-11-17 08:34:40 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-17 09:15:54 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 09:18:04 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8a86a47aa16fcc5236bef6f4e99e1880c180fd4f
Cr-Commit-Position: refs/heads/master@{#432825}

Powered by Google App Engine
This is Rietveld 408576698