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

Issue 2037513002: Convert device_sensors to use mojo. (Closed)

Created:
4 years, 6 months ago by Sam McNally
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-sensors_chromium.org, Michael van Ouwerkerk, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, riju_, timvolodine, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@conversion--mime-registry
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert device_sensors to use mojo. BUG=577685 Committed: https://crrev.com/413d6473ff0d73fe335a5ed3e2d475cab6d868d5 Cr-Commit-Position: refs/heads/master@{#403749}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : rebase #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : #

Patch Set 8 : rebase #

Total comments: 14

Patch Set 9 : rebase #

Patch Set 10 : #

Patch Set 11 : rebase #

Patch Set 12 : #

Total comments: 6

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -766 lines) Patch
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_base.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -8 lines 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +18 lines, -34 lines 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_base_unittest.cc View 1 chunk +6 lines, -8 lines 0 comments Download
M content/browser/device_sensors/device_inertial_sensor_service.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/device_sensors/device_inertial_sensor_service.cc View 1 chunk +3 lines, -4 lines 0 comments Download
D content/browser/device_sensors/device_light_message_filter.h View 1 chunk +0 lines, -30 lines 0 comments Download
D content/browser/device_sensors/device_light_message_filter.cc View 1 chunk +0 lines, -31 lines 0 comments Download
D content/browser/device_sensors/device_motion_message_filter.h View 1 chunk +0 lines, -30 lines 0 comments Download
D content/browser/device_sensors/device_motion_message_filter.cc View 1 chunk +0 lines, -31 lines 0 comments Download
D content/browser/device_sensors/device_orientation_absolute_message_filter.h View 1 chunk +0 lines, -31 lines 0 comments Download
D content/browser/device_sensors/device_orientation_absolute_message_filter.cc View 1 chunk +0 lines, -36 lines 0 comments Download
D content/browser/device_sensors/device_orientation_message_filter.h View 1 chunk +0 lines, -30 lines 0 comments Download
D content/browser/device_sensors/device_orientation_message_filter.cc View 1 chunk +0 lines, -33 lines 0 comments Download
A content/browser/device_sensors/device_sensor_host.h View 1 chunk +54 lines, -0 lines 0 comments Download
A content/browser/device_sensors/device_sensor_host.cc View 1 chunk +64 lines, -0 lines 0 comments Download
D content/browser/device_sensors/device_sensor_message_filter.h View 1 chunk +0 lines, -40 lines 0 comments Download
D content/browser/device_sensors/device_sensor_message_filter.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -8 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
D content/common/device_sensors/device_light_messages.h View 1 chunk +0 lines, -26 lines 0 comments Download
D content/common/device_sensors/device_motion_messages.h View 1 chunk +0 lines, -28 lines 0 comments Download
D content/common/device_sensors/device_orientation_messages.h View 1 chunk +0 lines, -33 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -10 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/device_sensors/device_light_event_pump.h View 1 2 4 chunks +4 lines, -6 lines 0 comments Download
M content/renderer/device_sensors/device_light_event_pump.cc View 1 2 4 chunks +3 lines, -21 lines 0 comments Download
M content/renderer/device_sensors/device_light_event_pump_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +22 lines, -26 lines 0 comments Download
M content/renderer/device_sensors/device_motion_event_pump.h View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
M content/renderer/device_sensors/device_motion_event_pump.cc View 1 2 2 chunks +3 lines, -21 lines 0 comments Download
M content/renderer/device_sensors/device_motion_event_pump_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +23 lines, -26 lines 0 comments Download
D content/renderer/device_sensors/device_orientation_absolute_event_pump.h View 1 chunk +0 lines, -32 lines 0 comments Download
D content/renderer/device_sensors/device_orientation_absolute_event_pump.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M content/renderer/device_sensors/device_orientation_event_pump.h View 1 2 2 chunks +13 lines, -9 lines 0 comments Download
M content/renderer/device_sensors/device_orientation_event_pump.cc View 4 chunks +12 lines, -31 lines 0 comments Download
M content/renderer/device_sensors/device_orientation_event_pump_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +24 lines, -30 lines 0 comments Download
M content/renderer/device_sensors/device_sensor_event_pump.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +49 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -7 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
A + device/sensors/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A device/sensors/public/interfaces/BUILD.gn View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
A + device/sensors/public/interfaces/OWNERS View 1 2 3 4 5 6 7 0 chunks +-1 lines, --1 lines 0 comments Download
A device/sensors/public/interfaces/light.mojom View 1 chunk +10 lines, -0 lines 0 comments Download
A device/sensors/public/interfaces/motion.mojom View 1 chunk +10 lines, -0 lines 0 comments Download
A device/sensors/public/interfaces/orientation.mojom View 1 chunk +15 lines, -0 lines 0 comments Download
A device/sensors/sensors.gyp View 1 chunk +35 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (19 generated)
Sam McNally
4 years, 6 months ago (2016-06-09 09:34:40 UTC) #14
timvolodine
Thanks Sam, think it looks great! especially the delta of the number of lines is ...
4 years, 6 months ago (2016-06-09 17:43:47 UTC) #15
Sam McNally
https://codereview.chromium.org/2037513002/diff/240001/content/browser/device_sensors/data_fetcher_shared_memory_base.h File content/browser/device_sensors/data_fetcher_shared_memory_base.h (right): https://codereview.chromium.org/2037513002/diff/240001/content/browser/device_sensors/data_fetcher_shared_memory_base.h#newcode97 content/browser/device_sensors/data_fetcher_shared_memory_base.h:97: typedef std::map<ConsumerType, mojo::ScopedSharedBufferMapping> On 2016/06/09 17:43:47, timvolodine wrote: > ...
4 years, 6 months ago (2016-06-10 01:07:51 UTC) #16
timvolodine
ok thanks, I see you fixed the two maps issue and the bots, so lgtm ...
4 years, 6 months ago (2016-06-15 15:54:47 UTC) #17
Sam McNally
+dcheng for messages and mojoms +rockot for //device +sievers for //content outside device_sensors
4 years, 6 months ago (2016-06-16 00:48:38 UTC) #19
Sam McNally
https://codereview.chromium.org/2037513002/diff/320001/content/renderer/device_sensors/device_sensor_event_pump.h File content/renderer/device_sensors/device_sensor_event_pump.h (right): https://codereview.chromium.org/2037513002/diff/320001/content/renderer/device_sensors/device_sensor_event_pump.h#newcode47 content/renderer/device_sensors/device_sensor_event_pump.h:47: RenderThreadImpl::current()->layout_test_mode()) { On 2016/06/15 15:54:47, timvolodine wrote: > Probably ...
4 years, 6 months ago (2016-06-16 00:51:04 UTC) #20
Ken Rockot(use gerrit already)
device lgtm
4 years, 6 months ago (2016-06-16 07:22:45 UTC) #21
dcheng
I'm at BlinkOn so I probably won't be able to take a look at this ...
4 years, 6 months ago (2016-06-16 08:57:32 UTC) #22
Sam McNally
dcheng, sievers: ping
4 years, 5 months ago (2016-06-29 01:34:52 UTC) #23
no sievers
On 2016/06/16 00:48:38, Sam McNally wrote: > +dcheng for messages and mojoms > > +rockot ...
4 years, 5 months ago (2016-06-30 21:46:37 UTC) #24
dcheng
https://codereview.chromium.org/2037513002/diff/380001/content/browser/device_sensors/data_fetcher_shared_memory_base.h File content/browser/device_sensors/data_fetcher_shared_memory_base.h (right): https://codereview.chromium.org/2037513002/diff/380001/content/browser/device_sensors/data_fetcher_shared_memory_base.h#newcode97 content/browser/device_sensors/data_fetcher_shared_memory_base.h:97: SharedMemoryMap; Nit: since we're changing this, let's update it ...
4 years, 5 months ago (2016-07-04 03:39:50 UTC) #25
Sam McNally
https://codereview.chromium.org/2037513002/diff/380001/content/browser/device_sensors/data_fetcher_shared_memory_base.h File content/browser/device_sensors/data_fetcher_shared_memory_base.h (right): https://codereview.chromium.org/2037513002/diff/380001/content/browser/device_sensors/data_fetcher_shared_memory_base.h#newcode97 content/browser/device_sensors/data_fetcher_shared_memory_base.h:97: SharedMemoryMap; On 2016/07/04 03:39:49, dcheng wrote: > Nit: since ...
4 years, 5 months ago (2016-07-04 08:31:39 UTC) #28
dcheng
LGTM with nits https://codereview.chromium.org/2037513002/diff/500001/content/browser/device_sensors/data_fetcher_shared_memory_base.cc File content/browser/device_sensors/data_fetcher_shared_memory_base.cc (right): https://codereview.chromium.org/2037513002/diff/500001/content/browser/device_sensors/data_fetcher_shared_memory_base.cc#newcode187 content/browser/device_sensors/data_fetcher_shared_memory_base.cc:187: return mojo::ScopedSharedBufferHandle(); Btw, does reaching this ...
4 years, 5 months ago (2016-07-05 02:51:54 UTC) #29
Sam McNally
https://codereview.chromium.org/2037513002/diff/500001/content/browser/device_sensors/data_fetcher_shared_memory_base.cc File content/browser/device_sensors/data_fetcher_shared_memory_base.cc (right): https://codereview.chromium.org/2037513002/diff/500001/content/browser/device_sensors/data_fetcher_shared_memory_base.cc#newcode187 content/browser/device_sensors/data_fetcher_shared_memory_base.cc:187: return mojo::ScopedSharedBufferHandle(); On 2016/07/05 02:51:54, dcheng wrote: > Btw, ...
4 years, 5 months ago (2016-07-05 03:03:36 UTC) #30
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/2037513002/520001
4 years, 5 months ago (2016-07-05 07:37:08 UTC) #33
commit-bot: I haz the power
Committed patchset #13 (id:520001)
4 years, 5 months ago (2016-07-05 07:43:55 UTC) #34
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 07:46:30 UTC) #36
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/413d6473ff0d73fe335a5ed3e2d475cab6d868d5
Cr-Commit-Position: refs/heads/master@{#403749}

Powered by Google App Engine
This is Rietveld 408576698