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

Issue 842233003: Push API: Require user visible notification, else show auto notification (Closed)

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

Description

Push API: Require user visible notification, else show auto notification BUG=437277 Committed: https://crrev.com/48ccc7e7853f4a0c7f73fb81d97135f381d2d795 Cr-Commit-Position: refs/heads/master@{#310862}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address review comments #

Patch Set 3 : Tweak comment #

Total comments: 8

Patch Set 4 : Review comments 2 #

Patch Set 5 : Comment nit #

Total comments: 4

Patch Set 6 : Review nits #

Patch Set 7 : Add TODO #

Patch Set 8 : String nits #

Total comments: 4

Patch Set 9 : Fix includes and typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/push_messaging_service_impl.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/push_messaging_service_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +51 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
johnme
5 years, 11 months ago (2015-01-09 17:13:51 UTC) #2
Peter Beverloo
https://codereview.chromium.org/842233003/diff/1/chrome/browser/services/gcm/push_messaging_service_impl.cc File chrome/browser/services/gcm/push_messaging_service_impl.cc (left): https://codereview.chromium.org/842233003/diff/1/chrome/browser/services/gcm/push_messaging_service_impl.cc#oldcode155 chrome/browser/services/gcm/push_messaging_service_impl.cc:155: DCHECK(application_id.IsValid()); Why are you removing this DCHECK? You're using ...
5 years, 11 months ago (2015-01-09 17:58:21 UTC) #3
johnme
Addressed review comments https://codereview.chromium.org/842233003/diff/1/chrome/browser/services/gcm/push_messaging_service_impl.cc File chrome/browser/services/gcm/push_messaging_service_impl.cc (left): https://codereview.chromium.org/842233003/diff/1/chrome/browser/services/gcm/push_messaging_service_impl.cc#oldcode155 chrome/browser/services/gcm/push_messaging_service_impl.cc:155: DCHECK(application_id.IsValid()); On 2015/01/09 17:58:20, Peter Beverloo ...
5 years, 11 months ago (2015-01-09 18:28:47 UTC) #4
Peter Beverloo
https://codereview.chromium.org/842233003/diff/1/chrome/browser/services/gcm/push_messaging_service_impl.cc File chrome/browser/services/gcm/push_messaging_service_impl.cc (left): https://codereview.chromium.org/842233003/diff/1/chrome/browser/services/gcm/push_messaging_service_impl.cc#oldcode155 chrome/browser/services/gcm/push_messaging_service_impl.cc:155: DCHECK(application_id.IsValid()); On 2015/01/09 18:28:47, johnme wrote: > On 2015/01/09 ...
5 years, 11 months ago (2015-01-09 18:46:26 UTC) #5
johnme
Addressed review comments https://codereview.chromium.org/842233003/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/842233003/diff/40001/chrome/app/generated_resources.grd#newcode15024 chrome/app/generated_resources.grd:15024: + <message name="IDS_PUSH_MESSAGING_GENERIC_NOTIFICATION_TITLE" desc="Title of the ...
5 years, 11 months ago (2015-01-09 19:27:18 UTC) #6
Peter Beverloo
Code lg minus two textual nits. Did you consider writing a test? https://codereview.chromium.org/842233003/diff/80001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd ...
5 years, 11 months ago (2015-01-09 19:33:28 UTC) #7
johnme
Addressed review comments > Did you consider writing a test? I'm about halfway through writing ...
5 years, 11 months ago (2015-01-09 19:45:18 UTC) #8
Peter Beverloo
lgtm. Please be sure to CC me on the patch adding the test. https://codereview.chromium.org/842233003/diff/140001/chrome/browser/services/gcm/push_messaging_service_impl.cc File ...
5 years, 11 months ago (2015-01-09 19:48:05 UTC) #9
johnme
https://codereview.chromium.org/842233003/diff/140001/chrome/browser/services/gcm/push_messaging_service_impl.cc File chrome/browser/services/gcm/push_messaging_service_impl.cc (right): https://codereview.chromium.org/842233003/diff/140001/chrome/browser/services/gcm/push_messaging_service_impl.cc#newcode15 chrome/browser/services/gcm/push_messaging_service_impl.cc:15: #include "chrome/browser/notifications/notification_ui_manager.h" On 2015/01/09 19:48:05, Peter Beverloo wrote: > ...
5 years, 11 months ago (2015-01-09 19:52:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/842233003/160001
5 years, 11 months ago (2015-01-09 19:54:24 UTC) #12
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 11 months ago (2015-01-09 21:43:37 UTC) #13
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 21:44:26 UTC) #14
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/48ccc7e7853f4a0c7f73fb81d97135f381d2d795
Cr-Commit-Position: refs/heads/master@{#310862}

Powered by Google App Engine
This is Rietveld 408576698