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

Issue 793913002: Stub implementation for PushRegistration.unregister(). (Closed)

Created:
6 years ago by mlamouri (slow - plz ping)
Modified:
6 years ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, dglazkov+blink, Peter Beverloo, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@mvan_6
Project:
blink
Visibility:
Public.

Description

Stub implementation for PushRegistration.unregister(). This is passing the ServiceWorkerRegistration to the PushRegistration object and adds the unregister method in PushRegistration and WebPushProvider. For now, the stub implementation always succeeds in order to have a test that will not fail when the Chromium implementation will be added. This is a multi-sided CL. Part 1: <this> Part 2: https://codereview.chromium.org/793403002/ Part 3: https://codereview.chromium.org/800503002/ BUG=440958 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187156

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 21

Patch Set 3 : rebase #

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : style #

Total comments: 2

Patch Set 6 : remove trace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -35 lines) Patch
A + LayoutTests/http/tests/push_messaging/unregister.html View 1 2 3 2 chunks +15 lines, -13 lines 0 comments Download
M Source/bindings/core/v8/CallbackPromiseAdapter.h View 1 2 3 5 chunks +32 lines, -3 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/push_messaging/PushManager.cpp View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/push_messaging/PushRegistration.h View 1 2 3 1 chunk +10 lines, -7 lines 0 comments Download
M Source/modules/push_messaging/PushRegistration.cpp View 1 2 3 2 chunks +30 lines, -6 lines 0 comments Download
M Source/modules/push_messaging/PushRegistration.idl View 1 chunk +1 line, -0 lines 0 comments Download
A Source/modules/push_messaging/PushRegistrationCallbacks.h View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A Source/modules/push_messaging/PushRegistrationCallbacks.cpp View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
M public/platform/WebPushProvider.h View 1 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
mlamouri (slow - plz ping)
Note: this CL is based on a few CLs that are not landed yet. Full ...
6 years ago (2014-12-10 21:57:41 UTC) #2
mlamouri (slow - plz ping)
+jochen@ given that Mike is currently sick.
6 years ago (2014-12-12 10:48:51 UTC) #5
Michael van Ouwerkerk
On 2014/12/10 21:57:41, Mounir Lamouri wrote: > Note: this CL is based on a few ...
6 years ago (2014-12-12 11:48:01 UTC) #6
Michael van Ouwerkerk
Please also run the try bots for the next patch, they should work now that ...
6 years ago (2014-12-12 12:18:05 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/793913002/diff/20001/Source/bindings/core/v8/CallbackPromiseAdapter.h File Source/bindings/core/v8/CallbackPromiseAdapter.h (right): https://codereview.chromium.org/793913002/diff/20001/Source/bindings/core/v8/CallbackPromiseAdapter.h#newcode199 Source/bindings/core/v8/CallbackPromiseAdapter.h:199: WTF_MAKE_NONCOPYABLE(CallbackPromiseAdapter); blink style is to have this right after ...
6 years ago (2014-12-12 14:26:12 UTC) #8
mlamouri (slow - plz ping)
Review comments applied. PTAL. https://codereview.chromium.org/793913002/diff/20001/LayoutTests/http/tests/push_messaging/unregister.html File LayoutTests/http/tests/push_messaging/unregister.html (right): https://codereview.chromium.org/793913002/diff/20001/LayoutTests/http/tests/push_messaging/unregister.html#newcode28 LayoutTests/http/tests/push_messaging/unregister.html:28: return pushRegistration.unregister(); On 2014/12/12 12:18:04, ...
6 years ago (2014-12-15 10:55:07 UTC) #9
Michael van Ouwerkerk
lgtm
6 years ago (2014-12-15 11:42:36 UTC) #10
Peter Beverloo
https://codereview.chromium.org/793913002/diff/60001/Source/modules/push_messaging/PushRegistrationCallbacks.h File Source/modules/push_messaging/PushRegistrationCallbacks.h (right): https://codereview.chromium.org/793913002/diff/60001/Source/modules/push_messaging/PushRegistrationCallbacks.h#newcode33 Source/modules/push_messaging/PushRegistrationCallbacks.h:33: void trace(Visitor*); What calls this?
6 years ago (2014-12-15 11:45:37 UTC) #12
mlamouri (slow - plz ping)
https://codereview.chromium.org/793913002/diff/60001/Source/modules/push_messaging/PushRegistrationCallbacks.h File Source/modules/push_messaging/PushRegistrationCallbacks.h (right): https://codereview.chromium.org/793913002/diff/60001/Source/modules/push_messaging/PushRegistrationCallbacks.h#newcode33 Source/modules/push_messaging/PushRegistrationCallbacks.h:33: void trace(Visitor*); On 2014/12/15 11:45:36, Peter Beverloo wrote: > ...
6 years ago (2014-12-15 12:04:38 UTC) #13
Peter Beverloo
On 2014/12/15 12:04:38, Mounir Lamouri wrote: > https://codereview.chromium.org/793913002/diff/60001/Source/modules/push_messaging/PushRegistrationCallbacks.h > File Source/modules/push_messaging/PushRegistrationCallbacks.h (right): > > https://codereview.chromium.org/793913002/diff/60001/Source/modules/push_messaging/PushRegistrationCallbacks.h#newcode33 ...
6 years ago (2014-12-15 12:17:44 UTC) #14
Mike West
On 2014/12/15 12:17:44, Peter Beverloo wrote: > On 2014/12/15 12:04:38, Mounir Lamouri wrote: > > ...
6 years ago (2014-12-15 12:39:47 UTC) #15
sof
+Cc: oilpan-reviews re: tool support. https://codereview.chromium.org/793913002/diff/80001/Source/modules/push_messaging/PushRegistrationCallbacks.cpp File Source/modules/push_messaging/PushRegistrationCallbacks.cpp (right): https://codereview.chromium.org/793913002/diff/80001/Source/modules/push_messaging/PushRegistrationCallbacks.cpp#newcode47 Source/modules/push_messaging/PushRegistrationCallbacks.cpp:47: visitor->trace(m_serviceWorkerRegistration); Hmm, I wonder ...
6 years ago (2014-12-15 13:27:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/793913002/100001
6 years ago (2014-12-15 13:36:52 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/35526)
6 years ago (2014-12-15 15:52:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/793913002/100001
6 years ago (2014-12-15 15:53:56 UTC) #25
commit-bot: I haz the power
6 years ago (2014-12-15 17:01:55 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187156

Powered by Google App Engine
This is Rietveld 408576698