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

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (Closed)

Created:
3 years, 11 months ago by Sam McNally
Modified:
3 years, 10 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, kinuko+watch, awdf+watch_chromium.org, jam, abarth-chromium, dglazkov+blink, darin-cc_chromium.org, blink-reviews, einbinder+watch-test-runner_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, feature-media-reviews_chromium.org, dcheng, alokp+watch_chromium.org, jsbell+idb_chromium.org, jochen+watch_chromium.org, rjkroege, mlamouri+watch-test-runner_chromium.org, tfarina, Aaron Boodman, cmumford, darin (slow to review), chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused typemap includes from generated C++ mojo bindings. This restricts additional headers from typemaps to only types that are used within the mojom. BUG=652404 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2656583002 Cr-Commit-Position: refs/heads/master@{#448740} Committed: https://chromium.googlesource.com/chromium/src/+/406822fa3d00ff5aeb7afa2099abff3d2672d3c9

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 6

Patch Set 13 : #

Patch Set 14 : rebase #

Total comments: 9

Patch Set 15 : #

Total comments: 2

Patch Set 16 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -24 lines) Patch
M chrome/browser/notifications/non_persistent_notification_handler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/child/indexed_db/webidbdatabase_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/indexed_db/indexed_db_struct_traits.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/presentation/presentation_connection_proxy_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_message_filter.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/run_all_unittests.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M device/usb/mojo/type_converters.h View 1 chunk +0 lines, -6 lines 0 comments Download
M media/mojo/services/mojo_video_decoder_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/wtf_types_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +76 lines, -14 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 chunk +4 lines, -0 lines 0 comments Download
M services/catalog/entry.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/background/tests/background_service_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/public/cpp/lib/service_test.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/public/cpp/test/run_all_service_tests.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/drag_controller.h View 1 chunk +6 lines, -0 lines 0 comments Download
M services/ui/ws/event_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mojo/Geometry.typemap View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mojo/OWNERS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/blink_typemaps.gni View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/mus_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 82 (70 generated)
Sam McNally
3 years, 10 months ago (2017-02-01 18:00:33 UTC) #49
yzshen1
https://codereview.chromium.org/2656583002/diff/220001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2656583002/diff/220001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode112 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:112: def NamespaceToArray(namespace): Could we remove this one? (There is ...
3 years, 10 months ago (2017-02-01 20:25:59 UTC) #50
Sam McNally
https://codereview.chromium.org/2656583002/diff/220001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2656583002/diff/220001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode112 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:112: def NamespaceToArray(namespace): On 2017/02/01 20:25:57, yzshen1 wrote: > Could ...
3 years, 10 months ago (2017-02-02 22:01:46 UTC) #57
yzshen1
https://codereview.chromium.org/2656583002/diff/260001/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl File mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl (right): https://codereview.chromium.org/2656583002/diff/260001/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl#newcode46 mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl:46: {%- for import in imports %} I am not ...
3 years, 10 months ago (2017-02-02 22:33:58 UTC) #58
yzshen1
https://codereview.chromium.org/2656583002/diff/260001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2656583002/diff/260001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode190 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:190: not _current_typemap[ GetFullMojomNameForKind(kind)]["hashable"]): nit: the empty space is not ...
3 years, 10 months ago (2017-02-03 00:31:45 UTC) #61
Sam McNally
https://codereview.chromium.org/2656583002/diff/260001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2656583002/diff/260001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode190 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:190: not _current_typemap[ GetFullMojomNameForKind(kind)]["hashable"]): On 2017/02/03 00:31:45, yzshen1 wrote: > ...
3 years, 10 months ago (2017-02-03 02:28:32 UTC) #65
yzshen1
LGTM with one nit. Thanks! https://codereview.chromium.org/2656583002/diff/300001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py (right): https://codereview.chromium.org/2656583002/diff/300001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py#newcode589 mojo/public/tools/bindings/generators/mojom_cpp_generator.py:589: A type is needed ...
3 years, 10 months ago (2017-02-07 00:21:45 UTC) #66
Sam McNally
+jam for everything outside //mojo +dcheng for traits, typemaps and type converters https://codereview.chromium.org/2656583002/diff/300001/mojo/public/tools/bindings/generators/mojom_cpp_generator.py File mojo/public/tools/bindings/generators/mojom_cpp_generator.py ...
3 years, 10 months ago (2017-02-07 01:48:31 UTC) #72
dcheng
rs lgtm for mojo security
3 years, 10 months ago (2017-02-07 07:50:13 UTC) #75
jam
lgtm
3 years, 10 months ago (2017-02-07 17:44:08 UTC) #76
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/2656583002/320001
3 years, 10 months ago (2017-02-07 22:07:16 UTC) #79
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 22:22:40 UTC) #82
Message was sent while issue was closed.
Committed patchset #16 (id:320001) as
https://chromium.googlesource.com/chromium/src/+/406822fa3d00ff5aeb7afa2099ab...

Powered by Google App Engine
This is Rietveld 408576698