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

Issue 2511883003: Use mojo typemaps to simplify arc::IntentFilter::IntentFilter() (Closed)

Created:
4 years, 1 month ago by yoshiki
Modified:
4 years ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use mojo typemaps to simplify arc::IntentFilter::IntentFilter() BUG=665719 Committed: https://crrev.com/6d90e3c056d091756ae21d32a85c843350310878 Cr-Commit-Position: refs/heads/master@{#436545}

Patch Set 1 #

Total comments: 57

Patch Set 2 : Addressed comments #

Total comments: 19

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -80 lines) Patch
A components/arc/common/intent_helper.typemap View 1 chunk +16 lines, -0 lines 0 comments Download
M components/arc/common/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
A components/arc/intent_helper/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/arc/intent_helper/intent_filter.h View 1 2 1 chunk +45 lines, -10 lines 0 comments Download
M components/arc/intent_helper/intent_filter.cc View 1 2 3 chunks +29 lines, -20 lines 0 comments Download
A components/arc/intent_helper/intent_filter_struct_traits.h View 1 1 chunk +79 lines, -0 lines 0 comments Download
A components/arc/intent_helper/intent_filter_struct_traits.cc View 1 1 chunk +55 lines, -0 lines 0 comments Download
M components/arc/intent_helper/intent_filter_unittest.cc View 1 1 chunk +9 lines, -18 lines 0 comments Download
M components/arc/intent_helper/local_activity_resolver.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/arc/intent_helper/local_activity_resolver.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M components/arc/intent_helper/local_activity_resolver_unittest.cc View 1 2 5 chunks +20 lines, -23 lines 0 comments Download

Messages

Total messages: 75 (54 generated)
yoshiki
Yusuke-san, PTAL
4 years ago (2016-11-30 18:13:07 UTC) #36
Yusuke Sato
+Luis and David FYI. https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/arc_intent_helper_bridge.h File components/arc/intent_helper/arc_intent_helper_bridge.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/arc_intent_helper_bridge.h#newcode64 components/arc/intent_helper/arc_intent_helper_bridge.h:64: std::vector<arc::IntentFilter> intent_filters) override; Is arc:: ...
4 years ago (2016-11-30 21:47:16 UTC) #38
Yusuke Sato
Oh and thanks a lot for working on this, Yoshiki. Accidentally pressed publish before writing ...
4 years ago (2016-11-30 21:48:39 UTC) #39
Yusuke Sato
https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h File components/arc/intent_helper/intent_filter.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h#newcode26 components/arc/intent_helper/intent_filter.h:26: class AuthorityEntry { Chatted with Luis about this. For ...
4 years ago (2016-11-30 22:07:22 UTC) #40
Luis Héctor Chávez
https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h File components/arc/intent_helper/intent_filter.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h#newcode29 components/arc/intent_helper/intent_filter.h:29: AuthorityEntry(std::string host, int port); Given that std::string is copiable, ...
4 years ago (2016-11-30 23:05:00 UTC) #41
djacobo
Thanks for working on this Yoshiki! https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.cc File components/arc/intent_helper/intent_filter.cc (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.cc#newcode20 components/arc/intent_helper/intent_filter.cc:20: : authorities_(std::move(authorities)), paths_(std::move(paths)) ...
4 years ago (2016-11-30 23:46:04 UTC) #42
hidehiko
Just drive-by and FYI: https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h File components/arc/intent_helper/intent_filter.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h#newcode29 components/arc/intent_helper/intent_filter.h:29: AuthorityEntry(std::string host, int port); On ...
4 years ago (2016-12-01 02:06:33 UTC) #44
Yusuke Sato
https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h File components/arc/intent_helper/intent_filter.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h#newcode29 components/arc/intent_helper/intent_filter.h:29: AuthorityEntry(std::string host, int port); On 2016/12/01 02:06:33, hidehiko wrote: ...
4 years ago (2016-12-01 02:22:13 UTC) #45
yoshiki
Thank you for comments. PTAL https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/arc_intent_helper_bridge.h File components/arc/intent_helper/arc_intent_helper_bridge.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/arc_intent_helper_bridge.h#newcode64 components/arc/intent_helper/arc_intent_helper_bridge.h:64: std::vector<arc::IntentFilter> intent_filters) override; On ...
4 years ago (2016-12-02 19:34:28 UTC) #53
Yusuke Sato
https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc File components/arc/intent_helper/intent_filter.cc (right): https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc#newcode16 components/arc/intent_helper/intent_filter.cc:16: // IntentFilter& IntentFilter::operator=(IntentFilter&& other) = default; remove https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc#newcode22 components/arc/intent_helper/intent_filter.cc:22: ...
4 years ago (2016-12-02 20:10:34 UTC) #54
Yusuke Sato
lgtm https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h File components/arc/intent_helper/intent_filter.h (right): https://codereview.chromium.org/2511883003/diff/120001/components/arc/intent_helper/intent_filter.h#newcode29 components/arc/intent_helper/intent_filter.h:29: AuthorityEntry(std::string host, int port); On 2016/12/02 19:34:27, yoshiki ...
4 years ago (2016-12-02 20:13:01 UTC) #56
dcheng
mojo lgtm I assume the things that currently return empty arrays are because the functionality ...
4 years ago (2016-12-03 01:09:05 UTC) #57
Luis Héctor Chávez
lgtm with one nit. https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.h File components/arc/intent_helper/intent_filter.h (right): https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.h#newcode34 components/arc/intent_helper/intent_filter.h:34: AuthorityEntry& operator=(AuthorityEntry&& other) = default; ...
4 years ago (2016-12-03 01:13:45 UTC) #58
Yusuke Sato
(still lgtm) https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc File components/arc/intent_helper/intent_filter.cc (right): https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc#newcode75 components/arc/intent_helper/intent_filter.cc:75: : host_(std::move(host)), port_(port) { remove std::move() https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc#newcode124 ...
4 years ago (2016-12-03 02:05:22 UTC) #59
yoshiki
Thanks! https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc File components/arc/intent_helper/intent_filter.cc (right): https://codereview.chromium.org/2511883003/diff/160001/components/arc/intent_helper/intent_filter.cc#newcode16 components/arc/intent_helper/intent_filter.cc:16: // IntentFilter& IntentFilter::operator=(IntentFilter&& other) = default; On 2016/12/02 ...
4 years ago (2016-12-06 07:07:38 UTC) #62
yoshiki
> I assume the things that currently return empty arrays are because the > functionality ...
4 years ago (2016-12-06 07:42:50 UTC) #63
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/2511883003/180001
4 years ago (2016-12-06 08:29:44 UTC) #68
commit-bot: I haz the power
Committed patchset #3 (id:180001)
4 years ago (2016-12-06 08:34:28 UTC) #71
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/6d90e3c056d091756ae21d32a85c843350310878 Cr-Commit-Position: refs/heads/master@{#436545}
4 years ago (2016-12-06 08:37:38 UTC) #73
tkent
A revert of this CL (patchset #3 id:180001) has been created in https://codereview.chromium.org/2557703002/ by tkent@chromium.org. ...
4 years ago (2016-12-06 08:58:34 UTC) #74
findit-for-me
4 years ago (2016-12-06 08:58:38 UTC) #75
Message was sent while issue was closed.
FYI: Findit identified this CL at revision 436545 as the culprit for
failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Powered by Google App Engine
This is Rietveld 408576698