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

Issue 2078683002: Add handler and mojo interface to accept android intent filters. (Closed)

Created:
4 years, 6 months ago by zentaro
Modified:
4 years, 5 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, viettrungluu+watch_chromium.org, hidehiko+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, lhchavez+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, qsr+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add handler and mojo interface to accept android intent filters. This adds the interface to recieve intent filters from android. Follow up CL will store these and implement matching logic. BUG=619137 Committed: https://crrev.com/a69ff524cf24d96b99f1b0185c40a0202e3838e0 Cr-Commit-Position: refs/heads/master@{#402203}

Patch Set 1 #

Patch Set 2 : Fix up version numbers after sync. #

Total comments: 9

Patch Set 3 : Fix bad merge with duplicate method name. #

Patch Set 4 : Add Extensible attribute to mojo enums. #

Patch Set 5 : Store intent filers in LocalActivityResolver. #

Total comments: 6

Patch Set 6 : Update after rebase and refactoring. #

Patch Set 7 : Review feedback. #

Patch Set 8 : Remove unintentionally add mojo attribute and update version comment. #

Total comments: 4

Patch Set 9 : Review feedback. #

Patch Set 10 : Fix style issue with complex destructor. #

Patch Set 11 : Fix complex constructor style bug. #

Patch Set 12 : Add basic implementation to determine if Chrome should handle a URL. #

Patch Set 13 : Remove the struct fields that aren't being used yet. #

Total comments: 15

Patch Set 14 : Review feedback. #

Patch Set 15 : Minor style fix. #

Total comments: 2

Patch Set 16 : Add code accidentally removed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -11 lines) Patch
M chrome/browser/chromeos/arc/arc_service_launcher.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/arc/arc_service_manager.h View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download
M components/arc/arc_service_manager.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M components/arc/common/intent_helper.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +12 lines, -2 lines 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.h View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -1 line 0 comments Download
M components/arc/intent_helper/arc_intent_helper_bridge.cc View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -2 lines 0 comments Download
M components/arc/intent_helper/local_activity_resolver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +18 lines, -3 lines 0 comments Download
M components/arc/intent_helper/local_activity_resolver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +73 lines, -1 line 0 comments Download

Messages

Total messages: 32 (9 generated)
zentaro
On 2016/06/16 22:42:38, zentaro wrote: > mailto:zentaro@chromium.org changed reviewers: > + mailto:yusukes@chromium.org PTAL
4 years, 6 months ago (2016-06-16 22:42:55 UTC) #3
Luis Héctor Chávez
drive-by https://codereview.chromium.org/2078683002/diff/20001/components/arc/common/intent_helper.mojom File components/arc/common/intent_helper.mojom (right): https://codereview.chromium.org/2078683002/diff/20001/components/arc/common/intent_helper.mojom#newcode17 components/arc/common/intent_helper.mojom:17: enum PatternType { Is this expected to be ...
4 years, 6 months ago (2016-06-16 22:45:20 UTC) #5
Yusuke Sato
initial comments. Please also run git cl try. https://codereview.chromium.org/2078683002/diff/20001/components/arc/intent_helper/arc_intent_helper_bridge.cc File components/arc/intent_helper/arc_intent_helper_bridge.cc (right): https://codereview.chromium.org/2078683002/diff/20001/components/arc/intent_helper/arc_intent_helper_bridge.cc#newcode100 components/arc/intent_helper/arc_intent_helper_bridge.cc:100: // ...
4 years, 6 months ago (2016-06-16 23:42:18 UTC) #6
zentaro
PTAAL https://codereview.chromium.org/2078683002/diff/20001/components/arc/common/intent_helper.mojom File components/arc/common/intent_helper.mojom (right): https://codereview.chromium.org/2078683002/diff/20001/components/arc/common/intent_helper.mojom#newcode17 components/arc/common/intent_helper.mojom:17: enum PatternType { On 2016/06/16 22:45:20, Luis Héctor ...
4 years, 6 months ago (2016-06-17 21:42:25 UTC) #7
Yusuke Sato
lg, but the chromium revision you have seems too old (and because of that the ...
4 years, 6 months ago (2016-06-17 21:51:15 UTC) #8
zentaro
On 2016/06/17 21:51:15, Yusuke Sato wrote: > lg, but the chromium revision you have seems ...
4 years, 6 months ago (2016-06-17 23:00:41 UTC) #9
Yusuke Sato
Thanks for the fix. LGTM with nits. For the mojom change, please add either dcheng@c ...
4 years, 6 months ago (2016-06-17 23:14:33 UTC) #10
zentaro
On 2016/06/17 23:14:33, Yusuke Sato wrote: > Thanks for the fix. LGTM with nits. For ...
4 years, 6 months ago (2016-06-17 23:37:17 UTC) #11
zentaro
https://codereview.chromium.org/2078683002/diff/80001/components/arc/arc_service_manager.cc File components/arc/arc_service_manager.cc (right): https://codereview.chromium.org/2078683002/diff/80001/components/arc/arc_service_manager.cc#newcode63 components/arc/arc_service_manager.cc:63: activity_resolver_ = new LocalActivityResolver; On 2016/06/17 21:51:15, Yusuke Sato ...
4 years, 6 months ago (2016-06-17 23:37:35 UTC) #12
zentaro
On 2016/06/17 23:37:35, zentaro wrote: > https://codereview.chromium.org/2078683002/diff/80001/components/arc/arc_service_manager.cc > File components/arc/arc_service_manager.cc (right): > > https://codereview.chromium.org/2078683002/diff/80001/components/arc/arc_service_manager.cc#newcode63 > ...
4 years, 6 months ago (2016-06-17 23:38:33 UTC) #14
dcheng
How will the intent filters to be used? It's hard to provide a security review ...
4 years, 6 months ago (2016-06-20 18:42:42 UTC) #16
zentaro
On 2016/06/20 18:42:42, dcheng wrote: > How will the intent filters to be used? It's ...
4 years, 6 months ago (2016-06-20 18:46:29 UTC) #17
dcheng
On 2016/06/20 18:46:29, zentaro wrote: > On 2016/06/20 18:42:42, dcheng wrote: > > How will ...
4 years, 6 months ago (2016-06-20 19:03:07 UTC) #18
dcheng
Can we just add the fields as needed? It's fine that this is still in ...
4 years, 6 months ago (2016-06-22 14:10:57 UTC) #19
zentaro
On 2016/06/22 14:10:57, dcheng wrote: > Can we just add the fields as needed? It's ...
4 years, 6 months ago (2016-06-22 17:25:04 UTC) #20
Yusuke Sato
lgtm with nits: https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.cc File components/arc/intent_helper/local_activity_resolver.cc (right): https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.cc#newcode11 components/arc/intent_helper/local_activity_resolver.cc:11: LocalActivityResolver::LocalActivityResolver() {} = default; https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.cc#newcode13 components/arc/intent_helper/local_activity_resolver.cc:13: ...
4 years, 6 months ago (2016-06-22 19:45:52 UTC) #21
zentaro
https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.cc File components/arc/intent_helper/local_activity_resolver.cc (right): https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.cc#newcode11 components/arc/intent_helper/local_activity_resolver.cc:11: LocalActivityResolver::LocalActivityResolver() {} On 2016/06/22 19:45:51, Yusuke Sato wrote: > ...
4 years, 6 months ago (2016-06-22 20:16:14 UTC) #22
Yusuke Sato
https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.h File components/arc/intent_helper/local_activity_resolver.h (right): https://codereview.chromium.org/2078683002/diff/240001/components/arc/intent_helper/local_activity_resolver.h#newcode26 components/arc/intent_helper/local_activity_resolver.h:26: ~LocalActivityResolver(); On 2016/06/22 20:16:14, zentaro wrote: > On 2016/06/22 ...
4 years, 6 months ago (2016-06-22 20:38:02 UTC) #23
dcheng
lgtm https://codereview.chromium.org/2078683002/diff/240001/components/arc/common/intent_helper.mojom File components/arc/common/intent_helper.mojom (right): https://codereview.chromium.org/2078683002/diff/240001/components/arc/common/intent_helper.mojom#newcode33 components/arc/common/intent_helper.mojom:33: }; Looks like lines 18-33 aren't used yet ...
4 years, 6 months ago (2016-06-24 22:32:36 UTC) #24
zentaro
https://codereview.chromium.org/2078683002/diff/240001/components/arc/common/intent_helper.mojom File components/arc/common/intent_helper.mojom (right): https://codereview.chromium.org/2078683002/diff/240001/components/arc/common/intent_helper.mojom#newcode33 components/arc/common/intent_helper.mojom:33: }; On 2016/06/24 22:32:35, dcheng wrote: > Looks like ...
4 years, 5 months ago (2016-06-27 16:15:38 UTC) #25
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/2078683002/300001
4 years, 5 months ago (2016-06-27 16:54:37 UTC) #28
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 5 months ago (2016-06-27 16:59:44 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 17:02:33 UTC) #32
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/a69ff524cf24d96b99f1b0185c40a0202e3838e0
Cr-Commit-Position: refs/heads/master@{#402203}

Powered by Google App Engine
This is Rietveld 408576698