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

Issue 1149243005: Automatically close the default push notification when a real one appears. (Closed)

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

Description

Automatically close the default push notification when a real one appears. When the developer shows a notification themselves in response to an incoming push message, and a default notification still happens to stick around from a previous message where they forgot to do so, the default notification should be closed automagically. BUG=495175 Committed: https://crrev.com/ed53734f33844f3d1c182dc18cf6d808d0221e60 Cr-Commit-Position: refs/heads/master@{#332387}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -8 lines) Patch
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 1 1 chunk +17 lines, -8 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_notification_manager.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Miguel Garcia
lgtm
5 years, 6 months ago (2015-06-02 13:25:45 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149243005/1
5 years, 6 months ago (2015-06-02 13:28:58 UTC) #4
johnme
lgtm with nits https://codereview.chromium.org/1149243005/diff/1/chrome/browser/push_messaging/push_messaging_browsertest.cc File chrome/browser/push_messaging/push_messaging_browsertest.cc (right): https://codereview.chromium.org/1149243005/diff/1/chrome/browser/push_messaging/push_messaging_browsertest.cc#newcode577 chrome/browser/push_messaging/push_messaging_browsertest.cc:577: EXPECT_EQ(1u, notification_manager()->GetNotificationCount()); It would be nice ...
5 years, 6 months ago (2015-06-02 13:43:52 UTC) #7
Peter Beverloo
https://codereview.chromium.org/1149243005/diff/1/chrome/browser/push_messaging/push_messaging_browsertest.cc File chrome/browser/push_messaging/push_messaging_browsertest.cc (right): https://codereview.chromium.org/1149243005/diff/1/chrome/browser/push_messaging/push_messaging_browsertest.cc#newcode577 chrome/browser/push_messaging/push_messaging_browsertest.cc:577: EXPECT_EQ(1u, notification_manager()->GetNotificationCount()); On 2015/06/02 13:43:52, johnme wrote: > It ...
5 years, 6 months ago (2015-06-02 13:58:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149243005/40001
5 years, 6 months ago (2015-06-02 13:59:24 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-02 15:11:01 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 15:11:46 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ed53734f33844f3d1c182dc18cf6d808d0221e60
Cr-Commit-Position: refs/heads/master@{#332387}

Powered by Google App Engine
This is Rietveld 408576698