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

Issue 2569993002: [ServiceWorker] Mojofy PushEvent of Service Worker. (Closed)

Created:
4 years ago by xiaofengzhang
Modified:
3 years, 12 months ago
CC:
Aaron Boodman, abarth-chromium, blink-worker-reviews_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, harkness+watch_chromium.org, horo+watch_chromium.org, jam, johnme+watch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+serviceworker, kinuko+watch, michaeln, mlamouri+watch-content_chromium.org, nhiroki, Peter Beverloo, qsr+mojo_chromium.org, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ServiceWorker] Mojofy PushEvent of Service Worker. This CL converts push event IPCs into mojo interface: ServiceWorkerMsg_PushEvent ServiceWorkerHostMsg_PushEventFinished BUG=629701 TEST=content_unittests Committed: https://crrev.com/35842853527f50a04662a6dfe2c3cd1b10cf5915 Cr-Commit-Position: refs/heads/master@{#439739}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address comments from Peter and shimazu #

Total comments: 7

Patch Set 3 : Rebase and address comments from Peter and Marijn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -50 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/push_messaging/push_messaging_router.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 4 chunks +16 lines, -10 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.mojom View 2 chunks +6 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.typemap View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_messages.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 7 chunks +34 lines, -25 lines 0 comments Download

Messages

Total messages: 51 (23 generated)
xiaofengzhang
4 years ago (2016-12-13 08:51:04 UTC) #3
Peter Beverloo
Cool, thank you! Welcome to the Chromium project! :) https://codereview.chromium.org/2569993002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/2569993002/diff/1/AUTHORS#newcode730 AUTHORS:730: ...
4 years ago (2016-12-13 13:31:32 UTC) #10
leonhsl(Using Gerrit)
Thanks Peter a lot for kindly review! https://codereview.chromium.org/2569993002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/2569993002/diff/1/AUTHORS#newcode730 AUTHORS:730: Xiaofeng Zhang ...
4 years ago (2016-12-14 03:29:18 UTC) #11
shimazu
Thanks for working on this! https://codereview.chromium.org/2569993002/diff/1/content/browser/push_messaging/push_messaging_router.cc File content/browser/push_messaging/push_messaging_router.cc (right): https://codereview.chromium.org/2569993002/diff/1/content/browser/push_messaging/push_messaging_router.cc#newcode129 content/browser/push_messaging/push_messaging_router.cc:129: // use nit: please ...
4 years ago (2016-12-14 04:42:34 UTC) #13
xiaofengzhang
On 2016/12/13 13:31:32, Peter Beverloo wrote: Thanks a lot for your kindly review. > Cool, ...
4 years ago (2016-12-14 05:19:29 UTC) #14
xiaofengzhang
On 2016/12/14 03:29:18, leonhsl wrote: > Thanks Peter a lot for kindly review! > > ...
4 years ago (2016-12-14 05:20:17 UTC) #15
xiaofengzhang
On 2016/12/14 04:42:34, shimazu wrote: > Thanks for working on this! > > https://codereview.chromium.org/2569993002/diff/1/content/browser/push_messaging/push_messaging_router.cc > ...
4 years ago (2016-12-14 05:21:29 UTC) #16
leonhsl(Using Gerrit)
On 2016/12/14 04:42:34, shimazu wrote: > Thanks for working on this! > > https://codereview.chromium.org/2569993002/diff/1/content/browser/push_messaging/push_messaging_router.cc > ...
4 years ago (2016-12-14 06:30:06 UTC) #17
xiaofengzhang
https://codereview.chromium.org/2569993002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/2569993002/diff/1/AUTHORS#newcode730 AUTHORS:730: Xiaofeng Zhang <xiaofeng.zhang@intel.com> On 2016/12/13 13:31:32, Peter Beverloo wrote: ...
4 years ago (2016-12-15 01:30:49 UTC) #22
Peter Beverloo
https://codereview.chromium.org/2569993002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/2569993002/diff/1/AUTHORS#newcode730 AUTHORS:730: Xiaofeng Zhang <xiaofeng.zhang@intel.com> On 2016/12/15 01:30:48, xiaofeng.zhang wrote: > ...
4 years ago (2016-12-15 17:35:40 UTC) #23
Marijn Kruisselbrink
https://codereview.chromium.org/2569993002/diff/20001/content/renderer/service_worker/service_worker_context_client.cc File content/renderer/service_worker/service_worker_context_client.cc (right): https://codereview.chromium.org/2569993002/diff/20001/content/renderer/service_worker/service_worker_context_client.cc#newcode757 content/renderer/service_worker/service_worker_context_client.cc:757: DCHECK(callback); On 2016/12/15 at 17:35:39, Peter Beverloo wrote: > ...
4 years ago (2016-12-15 17:42:36 UTC) #24
xiaofengzhang
https://codereview.chromium.org/2569993002/diff/1/AUTHORS File AUTHORS (right): https://codereview.chromium.org/2569993002/diff/1/AUTHORS#newcode730 AUTHORS:730: Xiaofeng Zhang <xiaofeng.zhang@intel.com> On 2016/12/15 17:35:39, Peter Beverloo wrote: ...
4 years ago (2016-12-16 01:34:48 UTC) #25
xiaofengzhang
https://codereview.chromium.org/2569993002/diff/20001/content/renderer/service_worker/service_worker_context_client.cc File content/renderer/service_worker/service_worker_context_client.cc (right): https://codereview.chromium.org/2569993002/diff/20001/content/renderer/service_worker/service_worker_context_client.cc#newcode757 content/renderer/service_worker/service_worker_context_client.cc:757: DCHECK(callback); On 2016/12/15 17:42:36, Marijn Kruisselbrink wrote: > On ...
4 years ago (2016-12-16 02:15:49 UTC) #26
xiaofengzhang
4 years ago (2016-12-16 08:20:45 UTC) #31
leonhsl(Using Gerrit)
Friendly ping Shimazu and Peter :)
4 years ago (2016-12-19 02:09:51 UTC) #32
shimazu
Non-owner lgtm, thanks:) +falken as the OWNER.
4 years ago (2016-12-19 05:36:59 UTC) #34
falken
sw lgtm. Beware that we have seen ordering issues when moving from IPC to Mojo: ...
4 years ago (2016-12-19 06:21:39 UTC) #35
Peter Beverloo
push lgtm - thank you! On 2016/12/19 06:21:39, falken wrote: > sw lgtm. Beware that ...
4 years ago (2016-12-19 14:12:29 UTC) #36
leonhsl(Using Gerrit)
Hi, Tom, would you PTAL for OWNER review of mojom/typemap files? Thanks.
4 years ago (2016-12-20 00:13:52 UTC) #38
Tom Sepez
lgtm
4 years ago (2016-12-20 00:17:25 UTC) #39
xiaofengzhang
On 2016/12/20 00:17:25, Tom Sepez wrote: > lgtm Thanks a lot for all the reviews.
4 years ago (2016-12-20 04:48:48 UTC) #40
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/2569993002/40001
4 years ago (2016-12-20 05:51:31 UTC) #42
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-20 07:51:35 UTC) #45
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/35842853527f50a04662a6dfe2c3cd1b10cf5915 Cr-Commit-Position: refs/heads/master@{#439739}
4 years ago (2016-12-20 07:55:02 UTC) #47
falken
On 2016/12/20 07:55:02, commit-bot: I haz the power wrote: > Patchset 3 (id:??) landed as ...
3 years, 12 months ago (2016-12-26 02:20:26 UTC) #48
xiaofengzhang
On 2016/12/26 02:20:26, falken wrote: > On 2016/12/20 07:55:02, commit-bot: I haz the power wrote: ...
3 years, 12 months ago (2016-12-26 02:25:35 UTC) #49
falken
On 2016/12/26 02:25:35, xiaofeng.zhang wrote: > On 2016/12/26 02:20:26, falken wrote: > > On 2016/12/20 ...
3 years, 12 months ago (2016-12-26 02:27:20 UTC) #50
falken
3 years, 12 months ago (2016-12-26 03:55:59 UTC) #51
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2600863002/ by falken@chromium.org.

The reason for reverting is: Causes crashes on canary. See
https://crbug.com/676984

0x5eb4a4fa	(chrome.dll + 0x000fa4fa )	base::Callback<void ,1,1>::Callback<void
,1,1>(base::Callback<void ,1,1> const &)
0x6003ec7d	(chrome.dll -service_worker_version.cc:1095
)	content::ServiceWorkerVersion::OnSimpleEventFinished(int,content::ServiceWorkerStatusCode,base::Time)
0x5ff64f33	(chrome.dll -bind_internal.h:214 )	base::internal::FunctorTraits<void
(
content::ServiceWorkerVersion::*)(int,content::ServiceWorkerStatusCode,base::Time),void>::Invoke<scoped_refptr<content::ServiceWorkerVersion>
const &,int const &,content::ServiceWorkerStatusCode,base::Time>(void (
content::ServiceWorkerVersion::*)(int,content::ServiceWorkerStatusCode,base::Time),scoped_refptr<content::ServiceWorkerVersion>
const &,int const &,content::ServiceWorkerStatusCode &&,base::Time &&)
0x5ff50241	(chrome.dll -bind_internal.h:285
)	base::internal::InvokeHelper<0,void>::MakeItSo<void (
content::ServiceWorkerVersion::*const
&)(int,blink::WebServiceWorkerEventResult,base::Time),scoped_refptr<content::ServiceWorkerVersion>
const &,int,blink::WebServiceWorkerEventResult,base::Time>(void (
content::ServiceWorkerVersion::*const
&)(int,blink::WebServiceWorkerEventResult,base::Time),scoped_refptr<content::ServiceWorkerVersion>
const &,int &&,blink::WebServiceWorkerEventResult &&,base::Time &&)
0x5ff655a6	(chrome.dll -bind_internal.h:339
)	base::internal::Invoker<base::internal::BindState<void (
content::ServiceWorkerVersion::*)(int,content::ServiceWorkerStatusCode,base::Time),scoped_refptr<content::ServiceWorkerVersion>,int>,void
>::Run(base::internal::BindStateBase *,content::ServiceWorkerStatusCode
&&,base::Time &&)
0x5fbe1b09	(chrome.dll -callback.h:85
)	base::internal::RunMixin<base::Callback<void ,1,1>
>::Run(filesystem::mojom::FileError,__int64)
0x5fba0984	(chrome.dll -service_worker_event_dispatcher.mojom.cc:225
)	content::mojom::ServiceWorkerEventDispatcher_DispatchPushEvent_ForwardToCallback::Accept(mojo::Message
*)
0x6037605b	(chrome.dll -interface_endpoint_client.cc:336
)	mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message *)



.

Powered by Google App Engine
This is Rietveld 408576698