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

Issue 1741963002: Auto-formatted all .mojom files. (Closed)

Created:
4 years, 10 months ago by azani
Modified:
4 years, 9 months ago
Reviewers:
jamesr, viettrungluu
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 32

Patch Set 2 : #

Patch Set 3 : Switch to 80 char line length limit. #

Total comments: 19

Patch Set 4 : #

Total comments: 14

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -384 lines) Patch
M examples/echo/echo.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/common/test_interfaces.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/dart/unittests/embedder_tester/dart_to_cpp.mojom View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/interface_control_messages.mojom View 1 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/interfaces/bindings/mojom_files.mojom View 1 2 3 3 chunks +22 lines, -21 lines 0 comments Download
M mojo/public/interfaces/bindings/mojom_types.mojom View 1 2 3 12 chunks +52 lines, -55 lines 0 comments Download
M mojo/public/interfaces/bindings/service_describer.mojom View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/math_calculator.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/interfaces/bindings/tests/no_module.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/interfaces/bindings/tests/rect.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/interfaces/bindings/tests/regression_tests.mojom View 1 2 3 chunks +12 lines, -11 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_factory.mojom View 1 2 2 chunks +8 lines, -7 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_import.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_import2.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_interfaces.mojom View 1 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_service.mojom View 1 2 3 5 chunks +7 lines, -4 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/interfaces/bindings/tests/test_enums.mojom View 1 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/test_structs.mojom View 1 2 3 10 chunks +44 lines, -69 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/test_unions.mojom View 2 3 4 2 chunks +11 lines, -10 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom View 1 4 chunks +11 lines, -12 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/versioning_test_client.mojom View 1 2 chunks +2 lines, -3 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/versioning_test_service.mojom View 1 2 chunks +2 lines, -3 lines 0 comments Download
M mojo/public/interfaces/network/network_error.mojom View 1 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/services/asset_bundle/interfaces/asset_bundle.mojom View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/authentication/interfaces/authentication.mojom View 1 2 3 4 3 chunks +9 lines, -7 lines 0 comments Download
M mojo/services/clipboard/interfaces/clipboard.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/contacts/interfaces/contacts.mojom View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/files/interfaces/directory.mojom View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M mojo/services/files/interfaces/file.mojom View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/files/interfaces/ioctl_terminal.mojom View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M mojo/services/gfx/composition/interfaces/compositor.mojom View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/services/gfx/composition/interfaces/nodes.mojom View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gfx/composition/interfaces/renderers.mojom View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/services/gfx/composition/interfaces/scenes.mojom View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/gfx/images/interfaces/image.mojom View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/services/gfx/images/interfaces/image_pipe.mojom View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M mojo/services/gpu/interfaces/command_buffer.mojom View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/services/input_events/interfaces/input_event_constants.mojom View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/input_events/interfaces/input_key_codes.mojom View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/keyboard/interfaces/keyboard.mojom View 1 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/services/location/interfaces/geocoder.mojom View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M mojo/services/media/audio/interfaces/audio_track.mojom View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/media/common/interfaces/media_clock.mojom View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/media/common/interfaces/media_common.mojom View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/media/common/interfaces/media_state.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/media/common/interfaces/media_transport.mojom View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/media/common/interfaces/media_types.mojom View 1 7 chunks +8 lines, -8 lines 0 comments Download
M mojo/services/media/common/interfaces/rate_control.mojom View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M mojo/services/media/control/interfaces/media_factory.mojom View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M mojo/services/media/control/interfaces/media_player.mojom View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/media/control/interfaces/media_sink.mojom View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/media/control/interfaces/media_source.mojom View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/native_support/interfaces/process.mojom View 1 1 chunk +8 lines, -7 lines 0 comments Download
M mojo/services/native_viewport/interfaces/native_viewport.mojom View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/navigation/interfaces/navigation.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/interfaces/host_resolver.mojom View 1 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/network/interfaces/net_address.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/interfaces/network_service.mojom View 1 3 chunks +4 lines, -8 lines 0 comments Download
M mojo/services/network/interfaces/udp_socket.mojom View 1 2 1 chunk +8 lines, -5 lines 0 comments Download
M mojo/services/network/interfaces/url_loader_interceptor.mojom View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M mojo/services/network/interfaces/web_socket.mojom View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/nfc/interfaces/nfc.mojom View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/notifications/interfaces/notifications.mojom View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/prediction/interfaces/prediction.mojom View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom View 1 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/services/surfaces/interfaces/display.mojom View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mojo/services/surfaces/interfaces/quads.mojom View 1 4 chunks +5 lines, -1 line 0 comments Download
M mojo/services/ui/views/interfaces/view_associates.mojom View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M mojo/services/ui/views/interfaces/view_manager.mojom View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/ui/views/interfaces/views.mojom View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom View 1 2 3 4 1 chunk +41 lines, -41 lines 0 comments Download
M mojom/mojom_parser/examples/example.mojom View 1 chunk +3 lines, -1 line 0 comments Download
M services/authentication/authentication_impl_db.mojom View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M services/authentication/credentials_impl_db.mojom View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M services/intent_receiver/intent_receiver.mojom View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M services/js/system/tests/js_to_cpp.mojom View 1 chunk +2 lines, -2 lines 0 comments Download
M services/js/test/network_test_service.mojom View 1 1 chunk +0 lines, -1 line 0 comments Download
M shell/child_controller.mojom View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M shell/test/pingable.mojom View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
jamesr
https://codereview.chromium.org/1741963002/diff/1/examples/echo/echo.mojom File examples/echo/echo.mojom (right): https://codereview.chromium.org/1741963002/diff/1/examples/echo/echo.mojom#newcode6 examples/echo/echo.mojom:6: JavaPackage="org.chromium.mojo.examples.echo"] this is a bit ugly - the lines ...
4 years, 9 months ago (2016-02-29 23:40:49 UTC) #2
vtl
https://codereview.chromium.org/1741963002/diff/1/examples/echo/echo.mojom File examples/echo/echo.mojom (right): https://codereview.chromium.org/1741963002/diff/1/examples/echo/echo.mojom#newcode6 examples/echo/echo.mojom:6: JavaPackage="org.chromium.mojo.examples.echo"] Probably this should be indented one space, to ...
4 years, 9 months ago (2016-02-29 23:42:00 UTC) #4
vtl
I'm OK with not aligning types/field names (and similar) -- we don't align those in ...
4 years, 9 months ago (2016-02-29 23:45:37 UTC) #5
jamesr
https://codereview.chromium.org/1741963002/diff/1/mojo/services/media/common/interfaces/media_common.mojom File mojo/services/media/common/interfaces/media_common.mojom (right): https://codereview.chromium.org/1741963002/diff/1/mojo/services/media/common/interfaces/media_common.mojom#newcode22 mojo/services/media/common/interfaces/media_common.mojom:22: // INVALID_ARG, depending on reason On 2016/02/29 at 23:45:37, ...
4 years, 9 months ago (2016-02-29 23:49:02 UTC) #6
azani
ptal There should be a 100 col limit enforced for method definitions now. If putting ...
4 years, 9 months ago (2016-03-04 01:08:49 UTC) #7
azani
ping for Trung.
4 years, 9 months ago (2016-03-07 23:02:15 UTC) #10
viettrungluu
On 2016/03/04 01:08:49, azani wrote: > ptal > > There should be a 100 col ...
4 years, 9 months ago (2016-03-07 23:11:50 UTC) #11
azani
That's a good point. I've updated it to 80 cols.
4 years, 9 months ago (2016-03-08 01:07:44 UTC) #12
jamesr
https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/bindings/tests/sample_service.mojom File mojo/public/interfaces/bindings/tests/sample_service.mojom (right): https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/bindings/tests/sample_service.mojom#newcode57 mojo/public/interfaces/bindings/tests/sample_service.mojom:57: int32 a10@10 = 1234; i think we want something ...
4 years, 9 months ago (2016-03-09 19:18:08 UTC) #13
viettrungluu
https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/application/shell.mojom File mojo/public/interfaces/application/shell.mojom (right): https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/application/shell.mojom#newcode20 mojo/public/interfaces/application/shell.mojom:20: CreateApplicationConnector(ApplicationConnector& application_connector_request); This seems to be > 80 chars. ...
4 years, 9 months ago (2016-03-09 20:49:09 UTC) #14
jamesr
https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/bindings/tests/sample_service.mojom File mojo/public/interfaces/bindings/tests/sample_service.mojom (right): https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/bindings/tests/sample_service.mojom#newcode57 mojo/public/interfaces/bindings/tests/sample_service.mojom:57: int32 a10@10 = 1234; On 2016/03/09 at 20:49:08, viettrungluu ...
4 years, 9 months ago (2016-03-09 20:58:09 UTC) #15
azani
ptal https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/application/shell.mojom File mojo/public/interfaces/application/shell.mojom (right): https://codereview.chromium.org/1741963002/diff/40001/mojo/public/interfaces/application/shell.mojom#newcode20 mojo/public/interfaces/application/shell.mojom:20: CreateApplicationConnector(ApplicationConnector& application_connector_request); On 2016/03/09 20:49:08, viettrungluu wrote: > ...
4 years, 9 months ago (2016-03-15 22:18:48 UTC) #16
viettrungluu
Apart from some minor comments, this looks good. (Probably you should resolve those comments as ...
4 years, 9 months ago (2016-03-15 23:14:50 UTC) #17
azani
ptal https://codereview.chromium.org/1741963002/diff/60001/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom File mojo/public/interfaces/bindings/tests/sample_interfaces.mojom (right): https://codereview.chromium.org/1741963002/diff/60001/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom#newcode8 mojo/public/interfaces/bindings/tests/sample_interfaces.mojom:8: Foo="hello world"] On 2016/03/15 23:14:50, viettrungluu wrote: > ...
4 years, 9 months ago (2016-03-23 22:42:51 UTC) #19
viettrungluu
lgtm
4 years, 9 months ago (2016-03-24 15:01:25 UTC) #20
azani
4 years, 9 months ago (2016-03-24 20:25:01 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
d26dd21f9bf81fca64a5c1c6d50837c41ae2d87c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698