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

Issue 1259023002: Service Worker: Use ScriptPromise instead of ScriptPromise&. (Closed)

Created:
5 years, 4 months ago by jungkees
Modified:
5 years, 3 months ago
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Service Worker: Use ScriptPromise instead of ScriptPromise&. Replace |ScriptPromise&| with |ScriptPromise| for FetchEvent::respondWith() and RespondWithObserver::respondWith(). This CL addresses a comment given by yhirano@: https://codereview.chromium.org/1256133002/#msg8. BUG=N/A Committed: https://crrev.com/dc6e57649056db3ca6ac8d06422c4af371f2d3bc git-svn-id: svn://svn.chromium.org/blink/trunk@199654 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment: add a header/forward declaration; Rename a param. #

Total comments: 2

Patch Set 3 : Remove the forward declaration (Included header will do). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M Source/modules/serviceworkers/FetchEvent.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/FetchEvent.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/RespondWithObserver.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/RespondWithObserver.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
jungkees
I addressed yhirano@'s comment from https://codereview.chromium.org/1256133002/#msg8. PTAL.
5 years, 4 months ago (2015-07-27 15:24:37 UTC) #2
yhirano
lgtm https://codereview.chromium.org/1259023002/diff/1/Source/modules/serviceworkers/FetchEvent.h File Source/modules/serviceworkers/FetchEvent.h (right): https://codereview.chromium.org/1259023002/diff/1/Source/modules/serviceworkers/FetchEvent.h#newcode7 Source/modules/serviceworkers/FetchEvent.h:7: +ScriptPromise.h https://codereview.chromium.org/1259023002/diff/1/Source/modules/serviceworkers/FetchEvent.h#newcode20 Source/modules/serviceworkers/FetchEvent.h:20: class RespondWithObserver; +ScriptState
5 years, 4 months ago (2015-07-29 06:30:26 UTC) #3
jungkees
Addressed the comments. Thanks for review yhirano@! SW OWNERs, PTAL.
5 years, 4 months ago (2015-07-29 08:27:57 UTC) #4
nhiroki
LGTM with a nit https://codereview.chromium.org/1259023002/diff/20001/Source/modules/serviceworkers/FetchEvent.h File Source/modules/serviceworkers/FetchEvent.h (right): https://codereview.chromium.org/1259023002/diff/20001/Source/modules/serviceworkers/FetchEvent.h#newcode22 Source/modules/serviceworkers/FetchEvent.h:22: class ScriptPromise; nit: ScriptState? (This ...
5 years, 4 months ago (2015-07-29 08:52:19 UTC) #5
jungkees
Addressed the comment. Thanks for review! https://codereview.chromium.org/1259023002/diff/20001/Source/modules/serviceworkers/FetchEvent.h File Source/modules/serviceworkers/FetchEvent.h (right): https://codereview.chromium.org/1259023002/diff/20001/Source/modules/serviceworkers/FetchEvent.h#newcode22 Source/modules/serviceworkers/FetchEvent.h:22: class ScriptPromise; Yeah, ...
5 years, 4 months ago (2015-07-29 09:12:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1259023002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1259023002/40001
5 years, 4 months ago (2015-07-29 09:13:07 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199654
5 years, 4 months ago (2015-07-29 10:12:04 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 11:53:21 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dc6e57649056db3ca6ac8d06422c4af371f2d3bc

Powered by Google App Engine
This is Rietveld 408576698