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

Issue 2158463003: Initial client side implementation of the XPC service (Closed)

Created:
4 years, 5 months ago by Miguel Garcia
Modified:
4 years, 3 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial client side implementation of the XPC service Both Displaying and clicking on notifications is supported. Closing notifiations and retrieving them is not. By itself the CL does nothing (so don't enable the flag for daily use just yet) since there is no XPC service backing up the calls yet. Since no changes in the BUILD system are required for this piece to land I am only adding them behind a run time flag not a compile time one. If you feel brave The companion XPC service is in https://chromiumcodereview.appspot.com/2070903002/ BUG=571056 Committed: https://crrev.com/9fd9154690781cf18df34319683ff697e84ba165 Cr-Commit-Position: refs/heads/master@{#418601}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Total comments: 32

Patch Set 3 : address most (not all) review comments #

Patch Set 4 : review comments #

Total comments: 10

Patch Set 5 : review #

Total comments: 2

Patch Set 6 : flag change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -37 lines) Patch
M chrome/browser/notifications/notification_platform_bridge_mac.h View 1 2 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_platform_bridge_mac.mm View 1 2 3 4 9 chunks +141 lines, -36 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/notification_constants_mac.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/notification_constants_mac.mm View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/notifications/notification_delivery.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/features.gni View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (32 generated)
Miguel Garcia
4 years, 5 months ago (2016-07-15 17:41:59 UTC) #6
Peter Beverloo
notifications rs lgtm, but this *really* needs Robert's review. Consider dropping the second command line ...
4 years, 5 months ago (2016-07-19 17:31:41 UTC) #9
Miguel Garcia
PTAL Rebased & verified it still works. Happy to remove the run time flag once ...
4 years, 3 months ago (2016-09-08 10:03:02 UTC) #14
Robert Sesek
https://codereview.chromium.org/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.h File chrome/browser/notifications/notification_platform_bridge_mac.h (right): https://codereview.chromium.org/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.h#newcode25 chrome/browser/notifications/notification_platform_bridge_mac.h:25: @interface NotificationRemoteDispatcher : NSObject You can just @class the ...
4 years, 3 months ago (2016-09-08 21:10:09 UTC) #15
Peter Beverloo
https://codereview.chromium.org/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.h File chrome/browser/notifications/notification_platform_bridge_mac.h (right): https://codereview.chromium.org/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.h#newcode27 chrome/browser/notifications/notification_platform_bridge_mac.h:27: // The connection to the XPC server in charge ...
4 years, 3 months ago (2016-09-09 14:56:19 UTC) #16
Robert Sesek
https://codereview.chromium.org/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://codereview.chromium.org/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode254 chrome/browser/notifications/notification_platform_bridge_mac.mm:254: NSDictionary* notificationResponseData) { On 2016/09/09 14:56:19, Peter Beverloo wrote: ...
4 years, 3 months ago (2016-09-09 20:43:43 UTC) #17
Miguel Garcia
Thanks for the review! PTAL https://chromiumcodereview.appspot.com/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.h File chrome/browser/notifications/notification_platform_bridge_mac.h (right): https://chromiumcodereview.appspot.com/2158463003/diff/50001/chrome/browser/notifications/notification_platform_bridge_mac.h#newcode25 chrome/browser/notifications/notification_platform_bridge_mac.h:25: @interface NotificationRemoteDispatcher : NSObject ...
4 years, 3 months ago (2016-09-12 13:49:01 UTC) #24
Robert Sesek
https://codereview.chromium.org/2158463003/diff/90001/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://codereview.chromium.org/2158463003/diff/90001/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode117 chrome/browser/notifications/notification_platform_bridge_mac.mm:117: - (instancetype)init; You don't have to re-declare init if ...
4 years, 3 months ago (2016-09-12 15:33:47 UTC) #27
Miguel Garcia
Thanks for the review +Nico for chrome/common/* OWNERS https://chromiumcodereview.appspot.com/2158463003/diff/90001/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://chromiumcodereview.appspot.com/2158463003/diff/90001/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode117 chrome/browser/notifications/notification_platform_bridge_mac.mm:117: - ...
4 years, 3 months ago (2016-09-12 16:57:59 UTC) #31
Robert Sesek
LGTM
4 years, 3 months ago (2016-09-12 17:26:51 UTC) #32
Miguel Garcia
NIco can you have a look at the new build flag?
4 years, 3 months ago (2016-09-13 20:10:17 UTC) #35
Miguel Garcia
Jochen, mind having a look? I think Nico is OOO
4 years, 3 months ago (2016-09-14 08:22:17 UTC) #37
Miguel Garcia
On 2016/09/14 08:22:17, Miguel Garcia wrote: > Jochen, mind having a look? I think Nico ...
4 years, 3 months ago (2016-09-14 08:23:44 UTC) #38
Nico
lgtm with either `= false` or `= is_mac`. https://chromiumcodereview.appspot.com/2158463003/diff/110001/chrome/common/features.gni File chrome/common/features.gni (right): https://chromiumcodereview.appspot.com/2158463003/diff/110001/chrome/common/features.gni#newcode43 chrome/common/features.gni:43: enable_xpc_notifications ...
4 years, 3 months ago (2016-09-14 14:34:17 UTC) #40
Miguel Garcia
https://chromiumcodereview.appspot.com/2158463003/diff/110001/chrome/common/features.gni File chrome/common/features.gni (right): https://chromiumcodereview.appspot.com/2158463003/diff/110001/chrome/common/features.gni#newcode43 chrome/common/features.gni:43: enable_xpc_notifications = is_mac && false On 2016/09/14 14:34:17, Nico ...
4 years, 3 months ago (2016-09-14 16:11:34 UTC) #46
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/2158463003/130001
4 years, 3 months ago (2016-09-14 16:11:41 UTC) #47
commit-bot: I haz the power
Committed patchset #6 (id:130001)
4 years, 3 months ago (2016-09-14 17:22:47 UTC) #48
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 17:24:30 UTC) #50
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9fd9154690781cf18df34319683ff697e84ba165
Cr-Commit-Position: refs/heads/master@{#418601}

Powered by Google App Engine
This is Rietveld 408576698