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

Issue 340773006: Dispatch push event to worker from PushServiceImpl#OnMessage. (Closed)

Created:
6 years, 6 months ago by Michael van Ouwerkerk
Modified:
6 years, 4 months ago
Reviewers:
johnme, michaeln, jam
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, creis+watch_chromium.org, tzik, nasko+codewatch_chromium.org, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, alecflett+watch_chromium.org, mlamouri (slow - plz ping), Peter Beverloo
Project:
chromium
Visibility:
Public.

Description

Push API: dispatch push event to service worker. BUG=350377 Depends on https://codereview.chromium.org/404353003/ Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288023

Patch Set 1 #

Patch Set 2 : Debugging. #

Total comments: 2

Patch Set 3 : Rebased. #

Patch Set 4 : Rebase. Fix layering violations. #

Patch Set 5 : Split off PushMessagingApplicationId. #

Patch Set 6 : Delete debugging logs. #

Patch Set 7 : Delete more debugging logs. #

Patch Set 8 : Get registration from storage if necessary. #

Total comments: 18

Patch Set 9 : Address John's comments. #

Total comments: 9

Patch Set 10 : Address michaeln's comments. #

Patch Set 11 : Rebase. #

Patch Set 12 : Rebase. #

Patch Set 13 : Move to BrowserContext. #

Patch Set 14 : Cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -3 lines) Patch
M chrome/browser/services/gcm/push_messaging_service_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 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 9 10 11 12 3 chunks +19 lines, -3 lines 0 comments Download
M content/browser/browser_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -0 lines 0 comments Download
A content/browser/push_messaging_router.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +68 lines, -0 lines 0 comments Download
A content/browser/push_messaging_router.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +106 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -0 lines 0 comments Download
M content/public/common/push_messaging_status.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/common/push_messaging_status.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mlamouri (slow - plz ping)
Would be great to fix that issue so people trying to build your patch with ...
6 years, 6 months ago (2014-06-20 13:57:23 UTC) #1
Michael van Ouwerkerk
https://codereview.chromium.org/340773006/diff/20001/content/child/service_worker/web_service_worker_provider_impl.h File content/child/service_worker/web_service_worker_provider_impl.h (right): https://codereview.chromium.org/340773006/diff/20001/content/child/service_worker/web_service_worker_provider_impl.h#newcode44 content/child/service_worker/web_service_worker_provider_impl.h:44: virtual int id() { return provider_id_; } On 2014/06/20 ...
6 years, 6 months ago (2014-06-20 15:02:44 UTC) #2
Michael van Ouwerkerk
Hi John, could you review this from a feature perspective?
6 years, 5 months ago (2014-07-22 11:28:28 UTC) #3
Michael van Ouwerkerk
Hi michaeln, could you please review this from a Service Worker perspective?
6 years, 5 months ago (2014-07-22 13:32:44 UTC) #4
johnme
lgtm with nits. It'll be great to have this working end-to-end :) https://codereview.chromium.org/340773006/diff/130001/chrome/browser/services/gcm/push_messaging_service_impl.cc File chrome/browser/services/gcm/push_messaging_service_impl.cc ...
6 years, 5 months ago (2014-07-23 14:25:24 UTC) #5
Michael van Ouwerkerk
Thanks John! https://codereview.chromium.org/340773006/diff/130001/chrome/browser/services/gcm/push_messaging_service_impl.cc File chrome/browser/services/gcm/push_messaging_service_impl.cc (right): https://codereview.chromium.org/340773006/diff/130001/chrome/browser/services/gcm/push_messaging_service_impl.cc#newcode77 chrome/browser/services/gcm/push_messaging_service_impl.cc:77: push_messaging_router_ = content::PushMessagingRouter::Create(profile); On 2014/07/23 14:25:23, johnme ...
6 years, 5 months ago (2014-07-23 16:57:52 UTC) #6
michaeln
looks pretty good https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc File content/browser/push_messaging_router_impl.cc (right): https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc#newcode13 content/browser/push_messaging_router_impl.cc:13: #include "content/public/browser/push_messaging_application_id.h" missing file? push_messaging_application_id.h https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc#newcode61 ...
6 years, 5 months ago (2014-07-24 02:08:17 UTC) #7
Michael van Ouwerkerk
Thanks Michael! Please take another look. https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc File content/browser/push_messaging_router_impl.cc (right): https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc#newcode13 content/browser/push_messaging_router_impl.cc:13: #include "content/public/browser/push_messaging_application_id.h" On ...
6 years, 5 months ago (2014-07-24 14:18:55 UTC) #8
michaeln
lgtm (sorry i missed the other cl) https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc File content/browser/push_messaging_router_impl.cc (right): https://codereview.chromium.org/340773006/diff/150001/content/browser/push_messaging_router_impl.cc#newcode108 content/browser/push_messaging_router_impl.cc:108: // Hold ...
6 years, 5 months ago (2014-07-25 00:08:27 UTC) #9
Michael van Ouwerkerk
jam: could you please review this patch as content owner?
6 years, 5 months ago (2014-07-25 13:08:39 UTC) #10
jam
first, apologies for the delay (I blame the CY :) ) why do we need ...
6 years, 5 months ago (2014-07-25 21:52:45 UTC) #11
Michael van Ouwerkerk
On 2014/07/25 21:52:45, jam wrote: > first, apologies for the delay (I blame the CY ...
6 years, 4 months ago (2014-07-28 12:55:26 UTC) #12
jam
On 2014/07/28 12:55:26, Michael van Ouwerkerk wrote: > On 2014/07/25 21:52:45, jam wrote: > > ...
6 years, 4 months ago (2014-07-29 22:38:46 UTC) #13
Michael van Ouwerkerk
I've moved it to BrowserContext. Please take another look :-)
6 years, 4 months ago (2014-08-06 17:34:51 UTC) #14
jam
lgtm
6 years, 4 months ago (2014-08-06 21:22:09 UTC) #15
Michael van Ouwerkerk
The CQ bit was checked by mvanouwerkerk@chromium.org
6 years, 4 months ago (2014-08-07 09:13:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mvanouwerkerk@chromium.org/340773006/250001
6 years, 4 months ago (2014-08-07 09:14:15 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 10:04:46 UTC) #18
Message was sent while issue was closed.
Change committed as 288023

Powered by Google App Engine
This is Rietveld 408576698