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

Issue 1475583002: Add IPC messages for ARC notification (Closed)

Created:
5 years ago by yoshiki
Modified:
5 years ago
CC:
davemoore+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add IPC messages for ARC notification This change comes along with: - http://crrev.com/1475583002 (ArcBridge part, this patch) - http://crrev.com/1477733002 (UI part) - http://ag/824594 - http://ag/824724 - http://ag/818913 These patch adds minimal support of new ARC notification: - Showing notifications - Closing ARC notifications from either side This chromium-side change should do nothing until the android side change is landed. BUG=560682 Committed: https://crrev.com/89ba62b6ed3836eca44b5e7f13a178453f1f2693 Cr-Commit-Position: refs/heads/master@{#362987}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed the comments and splitted the patch #

Total comments: 6

Patch Set 3 : Addressed the comments #

Total comments: 12

Patch Set 4 : rebase #

Patch Set 5 : Addressed comments #

Total comments: 18

Patch Set 6 : Addressed the comments #

Total comments: 6

Patch Set 7 : Addressed the comments #

Total comments: 6

Patch Set 8 : Addressed the comments #

Patch Set 9 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -4 lines) Patch
M components/arc.gypi View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/arc_bridge_service.h View 1 2 3 4 5 6 7 8 6 chunks +24 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service.cc View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service_impl.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +34 lines, -0 lines 0 comments Download
M components/arc/common/arc_host_messages.h View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -1 line 0 comments Download
M components/arc/common/arc_instance_messages.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -1 line 0 comments Download
M components/arc/common/arc_message_traits.h View 1 2 3 4 5 6 7 8 2 chunks +26 lines, -2 lines 0 comments Download
A components/arc/common/arc_notification_types.h View 1 2 3 4 5 6 7 8 1 chunk +70 lines, -0 lines 0 comments Download
A components/arc/common/arc_notification_types.cc View 8 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (34 generated)
yoshiki
Yury, could you take a look? Thanks.
5 years ago (2015-11-24 08:39:50 UTC) #4
khmel1
I reviewed you CL and it is look OK for me in general. However please ...
5 years ago (2015-11-25 00:30:11 UTC) #6
yoshiki
I removed the UI part from this patch, and will send it review later: crrev.com/1477733002. ...
5 years ago (2015-11-25 09:40:35 UTC) #15
yoshiki
Elijah, could you take a look, or add any appropriate reviewers? Thanks.
5 years ago (2015-11-25 09:42:41 UTC) #17
yoshiki
+hidehiko-san PTAL.
5 years ago (2015-11-26 01:52:14 UTC) #22
hidehiko
I'd recommend you to add more descriptive title. E.g., "Add IPC messages for ARC notification." ...
5 years ago (2015-11-26 03:39:41 UTC) #23
hidehiko
One more thing. https://codereview.chromium.org/1475583002/diff/80001/components/arc/common/arc_notification_types.h File components/arc/common/arc_notification_types.h (right): https://codereview.chromium.org/1475583002/diff/80001/components/arc/common/arc_notification_types.h#newcode25 components/arc/common/arc_notification_types.h:25: NOTIFICATION_EVENT_CLOSED = 6, If the number ...
5 years ago (2015-11-26 05:48:29 UTC) #24
yoshiki
Hidehiko-san, PTAL. Thanks. https://codereview.chromium.org/1475583002/diff/80001/components/arc/common/arc_message_param_traits.h File components/arc/common/arc_message_param_traits.h (right): https://codereview.chromium.org/1475583002/diff/80001/components/arc/common/arc_message_param_traits.h#newcode1 components/arc/common/arc_message_param_traits.h:1: // Copyright 2015 The Chromium Authors. ...
5 years ago (2015-11-26 10:36:21 UTC) #26
hidehiko
Almost looks good. Now, arc_bridge_service's refactoring is landed. Could you rebase on ToT? https://codereview.chromium.org/1475583002/diff/100001/components/arc/arc_bridge_service.h File ...
5 years ago (2015-11-26 10:47:09 UTC) #27
elijahtaylor1
https://codereview.chromium.org/1475583002/diff/100001/components/arc/arc_bridge_service.cc File components/arc/arc_bridge_service.cc (right): https://codereview.chromium.org/1475583002/diff/100001/components/arc/arc_bridge_service.cc#newcode137 components/arc/arc_bridge_service.cc:137: bool ArcBridgeService::NotifyNotificationEvent(const std::string& key, "NotifyNotification" is kind of confusing ...
5 years ago (2015-11-27 05:42:49 UTC) #28
yoshiki
Hidehiko-san, Elijah, PTAL. Thanks. https://codereview.chromium.org/1475583002/diff/100001/components/arc/arc_bridge_service.cc File components/arc/arc_bridge_service.cc (right): https://codereview.chromium.org/1475583002/diff/100001/components/arc/arc_bridge_service.cc#newcode137 components/arc/arc_bridge_service.cc:137: bool ArcBridgeService::NotifyNotificationEvent(const std::string& key, On ...
5 years ago (2015-11-27 10:48:07 UTC) #31
hidehiko
lgtm. Defer to elijahtaylor@ and khmel@. You'll also need a code review from the security ...
5 years ago (2015-12-01 06:35:43 UTC) #32
khmel1
https://codereview.chromium.org/1475583002/diff/180001/components/arc/arc_bridge_service.h File components/arc/arc_bridge_service.h (right): https://codereview.chromium.org/1475583002/diff/180001/components/arc/arc_bridge_service.h#newcode81 components/arc/arc_bridge_service.h:81: virtual void OnNotificationPostedFromAndroid( Please pay attention that I added ...
5 years ago (2015-12-01 06:44:51 UTC) #33
elijahtaylor1
lgtm but you'll need a chrome security reviewer for messages.h https://codereview.chromium.org/1475583002/diff/180001/components/arc/arc_bridge_service_impl.cc File components/arc/arc_bridge_service_impl.cc (right): https://codereview.chromium.org/1475583002/diff/180001/components/arc/arc_bridge_service_impl.cc#newcode111 ...
5 years ago (2015-12-01 07:02:36 UTC) #34
yoshiki
Thank you for reviewing! https://codereview.chromium.org/1475583002/diff/180001/components/arc/arc_bridge_service.h File components/arc/arc_bridge_service.h (right): https://codereview.chromium.org/1475583002/diff/180001/components/arc/arc_bridge_service.h#newcode81 components/arc/arc_bridge_service.h:81: virtual void OnNotificationPostedFromAndroid( On 2015/12/01 ...
5 years ago (2015-12-02 02:38:24 UTC) #35
yoshiki
dcheng, kenrb: Can I get a review on my changes to the IPC message in ...
5 years ago (2015-12-02 02:39:09 UTC) #37
dcheng
https://codereview.chromium.org/1475583002/diff/200001/components/arc/common/arc_notification_types.h File components/arc/common/arc_notification_types.h (right): https://codereview.chromium.org/1475583002/diff/200001/components/arc/common/arc_notification_types.h#newcode17 components/arc/common/arc_notification_types.h:17: enum ArcNotificationEvent { enum class for both these enums, ...
5 years ago (2015-12-02 02:42:58 UTC) #38
yoshiki
dcheng, PTAL. https://codereview.chromium.org/1475583002/diff/200001/components/arc/common/arc_notification_types.h File components/arc/common/arc_notification_types.h (right): https://codereview.chromium.org/1475583002/diff/200001/components/arc/common/arc_notification_types.h#newcode17 components/arc/common/arc_notification_types.h:17: enum ArcNotificationEvent { On 2015/12/02 02:42:58, dcheng ...
5 years ago (2015-12-02 03:18:22 UTC) #39
dcheng
lgtm for IPC I'm still vaguely uncomfortable with image decoding happening 'at a distance'. I'd ...
5 years ago (2015-12-02 18:26:54 UTC) #40
yoshiki
> I'm still vaguely uncomfortable with image decoding happening 'at a distance'. > I'd prefer ...
5 years ago (2015-12-03 14:17:50 UTC) #44
yoshiki
https://codereview.chromium.org/1475583002/diff/220001/components/arc/arc_bridge_service.h File components/arc/arc_bridge_service.h (right): https://codereview.chromium.org/1475583002/diff/220001/components/arc/arc_bridge_service.h#newcode83 components/arc/arc_bridge_service.h:83: class NotificationObserver { On 2015/12/02 18:26:53, dcheng wrote: > ...
5 years ago (2015-12-03 14:17:55 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475583002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475583002/320001
5 years ago (2015-12-03 14:18:22 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475583002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475583002/320001
5 years ago (2015-12-03 14:40:46 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475583002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475583002/320001
5 years ago (2015-12-03 14:56:23 UTC) #56
commit-bot: I haz the power
Committed patchset #9 (id:320001)
5 years ago (2015-12-03 15:57:38 UTC) #58
commit-bot: I haz the power
5 years ago (2015-12-03 15:58:30 UTC) #60
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/89ba62b6ed3836eca44b5e7f13a178453f1f2693
Cr-Commit-Position: refs/heads/master@{#362987}

Powered by Google App Engine
This is Rietveld 408576698