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

Issue 2680243003: Reduce size of mojo AssociatedBinding template expansions (Closed)

Created:
3 years, 10 months ago by scottmg
Modified:
3 years, 10 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce size of mojo AssociatedBinding template expansions In particular for AssociatedBinding::Bind(), reduces expansion to 54% of original size on Windows. This only saves about 4K on the final libchrome.so size on Android, so not a huge win, but: 1) it doesn't add much complexity to the implementation, and 2) I think it'll be useful to do more followups that de-type bindings code. R=yzshen@chromium.org BUG=597125, 689690 Review-Url: https://codereview.chromium.org/2680243003 Cr-Commit-Position: refs/heads/master@{#449364} Committed: https://chromium.googlesource.com/chromium/src/+/83392e9f4312a231f60c5d2b8f0bfa4f80aa92cd

Patch Set 1 #

Patch Set 2 : forgot cc #

Total comments: 6

Patch Set 3 : fixes and exports #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -71 lines) Patch
M mojo/public/cpp/bindings/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 1 2 6 chunks +62 lines, -71 lines 0 comments Download
A mojo/public/cpp/bindings/lib/associated_binding.cc View 1 2 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (20 generated)
scottmg
3 years, 10 months ago (2017-02-09 00:06:54 UTC) #6
yzshen1
LGTM with a few nits. Thanks! https://codereview.chromium.org/2680243003/diff/20001/mojo/public/cpp/bindings/associated_binding.cc File mojo/public/cpp/bindings/associated_binding.cc (right): https://codereview.chromium.org/2680243003/diff/20001/mojo/public/cpp/bindings/associated_binding.cc#newcode1 mojo/public/cpp/bindings/associated_binding.cc:1: // Copyright 2017 ...
3 years, 10 months ago (2017-02-09 00:36:52 UTC) #9
scottmg
Thanks +rockot for ipc/BUILD.gn OWNERS. I'm a little puzzled why that change is necessary, but ...
3 years, 10 months ago (2017-02-09 01:15:08 UTC) #16
Ken Rockot(use gerrit already)
On 2017/02/09 at 01:15:08, scottmg wrote: > Thanks > > +rockot for ipc/BUILD.gn OWNERS. I'm ...
3 years, 10 months ago (2017-02-09 17:26:02 UTC) #19
scottmg
On 2017/02/09 17:26:02, Ken Rockot wrote: > On 2017/02/09 at 01:15:08, scottmg wrote: > > ...
3 years, 10 months ago (2017-02-09 17:32:29 UTC) #21
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/2680243003/100001
3 years, 10 months ago (2017-02-09 17:33:07 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 18:47:54 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/83392e9f4312a231f60c5d2b8f0b...

Powered by Google App Engine
This is Rietveld 408576698