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

Issue 2100663002: Fix a few bugs when closing mac notifications (Closed)

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

Description

Fix a few bugs when closing mac notifications The ID and profile comparisons in the native notification bridge should use isEqualToString instead of checking the pointers. PlatformNotificationServiceImpls#ClosePersistentNotifiction should invoke the right close method depending on wether it's a persistent or an in-page notification BUG=571056 Committed: https://crrev.com/6bda39f7d226fdc39d4fc12d47a2c6de82e042f3 Cr-Commit-Position: refs/heads/master@{#402755}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Patch Set 3 : add balnk lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -11 lines) Patch
M chrome/browser/notifications/notification_platform_bridge_mac.mm View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Miguel Garcia
4 years, 6 months ago (2016-06-25 20:33:22 UTC) #2
Peter Beverloo
https://chromiumcodereview.appspot.com/2100663002/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://chromiumcodereview.appspot.com/2100663002/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode157 chrome/browser/notifications/notification_platform_bridge_mac.mm:157: [persistent_profile_id isEqualToString:current_profile_id]) { This seems like the kind of ...
4 years, 5 months ago (2016-06-26 20:46:26 UTC) #3
Miguel Garcia
https://chromiumcodereview.appspot.com/2100663002/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm File chrome/browser/notifications/notification_platform_bridge_mac.mm (right): https://chromiumcodereview.appspot.com/2100663002/diff/1/chrome/browser/notifications/notification_platform_bridge_mac.mm#newcode157 chrome/browser/notifications/notification_platform_bridge_mac.mm:157: [persistent_profile_id isEqualToString:current_profile_id]) { On 2016/06/26 20:46:26, Peter Beverloo wrote: ...
4 years, 5 months ago (2016-06-28 08:17:20 UTC) #4
Peter Beverloo
lgtm, but why do you remove the whitespace :(
4 years, 5 months ago (2016-06-28 23:05:36 UTC) #5
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/2100663002/40001
4 years, 5 months ago (2016-06-29 08:08:38 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-29 08:40:54 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 08:42:09 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6bda39f7d226fdc39d4fc12d47a2c6de82e042f3
Cr-Commit-Position: refs/heads/master@{#402755}

Powered by Google App Engine
This is Rietveld 408576698