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

Issue 609393002: [Push] Use Manifest.gcm_sender_id instead of API sender_id if possible. (Closed)

Created:
6 years, 2 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@manifest_gcm_sender_id
Project:
chromium
Visibility:
Public.

Description

[Push] Use Manifest.gcm_sender_id instead of API sender_id if possible. PushMessagingDispatcher is now trying to get the Manifest before asking the registration to happen. If the gcm_sender_id is set, it will be used. Otherwise, the flow is unchanged. This is an considered option in order to no longer require an opaque property bag to be passed when registering. It might or might not stay as is. BUG=414873 Committed: https://crrev.com/4fff199018de7d518127d1fa29e4d38c9242642f Cr-Commit-Position: refs/heads/master@{#297403}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -17 lines) Patch
M content/renderer/push_messaging_dispatcher.h View 2 chunks +8 lines, -5 lines 0 comments Download
M content/renderer/push_messaging_dispatcher.cc View 1 3 chunks +18 lines, -12 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
mlamouri (slow - plz ping)
6 years, 2 months ago (2014-09-29 16:32:22 UTC) #2
mlamouri (slow - plz ping)
6 years, 2 months ago (2014-09-29 17:45:48 UTC) #4
Avi (use Gerrit)
OWNER lgtm stamp; get approval from the area expert before landing.
6 years, 2 months ago (2014-09-29 17:56:47 UTC) #5
Michael van Ouwerkerk
lgtm with nits https://codereview.chromium.org/609393002/diff/1/content/renderer/push_messaging_dispatcher.cc File content/renderer/push_messaging_dispatcher.cc (right): https://codereview.chromium.org/609393002/diff/1/content/renderer/push_messaging_dispatcher.cc#newcode46 content/renderer/push_messaging_dispatcher.cc:46: DCHECK(render_frame_impl); Let's not DCHECK here as ...
6 years, 2 months ago (2014-09-29 18:11:48 UTC) #6
mlamouri (slow - plz ping)
https://codereview.chromium.org/609393002/diff/1/content/renderer/push_messaging_dispatcher.cc File content/renderer/push_messaging_dispatcher.cc (right): https://codereview.chromium.org/609393002/diff/1/content/renderer/push_messaging_dispatcher.cc#newcode46 content/renderer/push_messaging_dispatcher.cc:46: DCHECK(render_frame_impl); On 2014/09/29 18:11:48, Michael van Ouwerkerk wrote: > ...
6 years, 2 months ago (2014-09-30 09:44:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/609393002/20001
6 years, 2 months ago (2014-09-30 09:48:04 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as e44b51a6b786902c9357f559f6171186886abd74
6 years, 2 months ago (2014-09-30 11:22:54 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 11:23:34 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4fff199018de7d518127d1fa29e4d38c9242642f
Cr-Commit-Position: refs/heads/master@{#297403}

Powered by Google App Engine
This is Rietveld 408576698