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 2640293002: PaymentRequest: Move m_abortTimer to frame-specific TaskRunnerTimer. (Closed)

Created:
3 years, 11 months ago by zino
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentRequest: Move m_abortTimer to frame-specific TaskRunnerTimer. Move m_abortTimer to frame-specific TaskRunnerTimer. This associates it with the frame's MiscPlatformAPI timer task. This patch also makes the signature of constructor take ExecutionContext to get the frame object. This CL includes IDL change but it's not breaking existing web. The spec link: https://w3c.github.io/browser-payment-api/#updatewith-method This CL is migrating tasks/timers from a per-renderer scheduler to a per-frame scheduler: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/80dsbEEOcWY BUG=624694 Review-Url: https://codereview.chromium.org/2640293002 Cr-Commit-Position: refs/heads/master@{#445050} Committed: https://chromium.googlesource.com/chromium/src/+/ff4edc10916a681cb2f6028c149f9755d8024bf4

Patch Set 1 #

Patch Set 2 : MiscPlatformAPI #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -21 lines) Patch
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h View 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.cpp View 1 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp View 6 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
zino
PTAL
3 years, 11 months ago (2017-01-19 14:18:49 UTC) #3
haraken
Yeah, the spec is not clear about the task source. rouslan@? If we're not sure, ...
3 years, 11 months ago (2017-01-19 14:27:32 UTC) #4
please use gerrit instead
What problem does this solve or which advantage does this provide? Here's the relevant text ...
3 years, 11 months ago (2017-01-19 15:02:05 UTC) #5
haraken
On 2017/01/19 15:02:05, rouslan wrote: > What problem does this solve or which advantage does ...
3 years, 11 months ago (2017-01-19 15:29:26 UTC) #6
zino
On 2017/01/19 15:02:05, rouslan wrote: > What problem does this solve or which advantage does ...
3 years, 11 months ago (2017-01-19 15:32:41 UTC) #7
please use gerrit instead
Let's use MiscPlatformAPI. Thank you for the context.
3 years, 11 months ago (2017-01-19 15:38:51 UTC) #11
zino
On 2017/01/19 15:38:51, rouslan wrote: > Let's use MiscPlatformAPI. Thank you for the context. Done.
3 years, 11 months ago (2017-01-19 15:40:47 UTC) #12
zino
On 2017/01/19 15:40:47, zino wrote: > On 2017/01/19 15:38:51, rouslan wrote: > > Let's use ...
3 years, 11 months ago (2017-01-19 15:41:00 UTC) #13
please use gerrit instead
lgtm
3 years, 11 months ago (2017-01-19 16:33:19 UTC) #14
haraken
LGTM
3 years, 11 months ago (2017-01-20 00:12:33 UTC) #15
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/2640293002/20001
3 years, 11 months ago (2017-01-20 13:01:59 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 14:30:45 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ff4edc10916a681cb2f6028c149f...

Powered by Google App Engine
This is Rietveld 408576698