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

Issue 2715803004: Introduce ThreadableLoadingContext: make threaded loading code one step away from Document (Closed)

Created:
3 years, 10 months ago by kinuko
Modified:
3 years, 9 months ago
Reviewers:
Nate Chapin, yhirano, horo
CC:
chromium-reviews, tyoshino+watch_chromium.org, yhirano+watch_chromium.org, shimazu+worker_chromium.org, haraken, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org, kouhei (in TOK)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce ThreadableLoadingContext: make threaded loading code one step away from Document. For now it's just a wrapper of Document. BUG=695279, 538751 Review-Url: https://codereview.chromium.org/2715803004 Cr-Commit-Position: refs/heads/master@{#454198} Committed: https://chromium.googlesource.com/chromium/src/+/1a7f9ee8e1a0d5944b59e4474c1344b8bf7acbf8

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -143 lines) Patch
M third_party/WebKit/Source/core/loader/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp View 1 2 17 chunks +40 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoader.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 1 2 3 4 5 6 chunks +11 lines, -4 lines 0 comments Download
A third_party/WebKit/Source/core/loader/ThreadableLoadingContext.h View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/loader/ThreadableLoadingContext.cpp View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp View 1 2 5 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerLoaderProxy.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerLoaderProxy.cpp View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h View 1 2 6 chunks +19 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp View 1 2 14 chunks +63 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/WebSocketChannel.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/WebAssociatedURLLoaderImpl.cpp View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 4 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 2 3 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 48 (28 generated)
kinuko
What do you think about this change?
3 years, 10 months ago (2017-02-24 10:40:27 UTC) #9
tyoshino (SeeGerritForStatus)
On 2017/02/24 10:40:27, kinuko wrote: > What do you think about this change? looks promising! ...
3 years, 10 months ago (2017-02-24 10:50:58 UTC) #10
kinuko
On 2017/02/24 10:50:58, tyoshino wrote: > On 2017/02/24 10:40:27, kinuko wrote: > > What do ...
3 years, 9 months ago (2017-02-27 04:25:20 UTC) #11
horo
looks good. BTW do you have any plan for off-main thread WebSocket? https://codereview.chromium.org/2715803004/diff/1/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h File third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h ...
3 years, 9 months ago (2017-02-27 04:49:20 UTC) #12
kinuko
Thanks, On 2017/02/27 04:49:20, horo wrote: > looks good. > > BTW do you have ...
3 years, 9 months ago (2017-02-27 04:55:25 UTC) #13
kinuko
https://codereview.chromium.org/2715803004/diff/1/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h File third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h (right): https://codereview.chromium.org/2715803004/diff/1/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h#newcode89 third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h:89: DocumentThreadableLoader(LoadingContext&, On 2017/02/27 04:49:20, horo wrote: > Why do ...
3 years, 9 months ago (2017-02-27 04:55:35 UTC) #14
tyoshino (SeeGerritForStatus)
On 2017/02/27 04:25:20, kinuko wrote: > On 2017/02/24 10:50:58, tyoshino wrote: > > On 2017/02/24 ...
3 years, 9 months ago (2017-02-27 05:20:51 UTC) #15
horo
lgtm
3 years, 9 months ago (2017-02-27 05:57:28 UTC) #16
kinuko
+japhet@ for owner review, also to see if he has any opinion. On 2017/02/27 05:20:51, ...
3 years, 9 months ago (2017-02-27 06:12:38 UTC) #18
yhirano
Currently DocumentThreadableLoader is associated with a non-null Document. You are changing it, right? When the ...
3 years, 9 months ago (2017-02-28 07:06:34 UTC) #19
kinuko
On 2017/02/28 07:06:34, yhirano (slow) wrote: > Currently DocumentThreadableLoader is associated with a non-null Document. ...
3 years, 9 months ago (2017-02-28 13:45:36 UTC) #20
tyoshino (SeeGerritForStatus)
On 2017/02/27 06:12:38, kinuko wrote: > No, this is a very valid concern. I just ...
3 years, 9 months ago (2017-02-28 13:47:57 UTC) #21
tyoshino (SeeGerritForStatus)
On 2017/02/27 04:55:25, kinuko wrote: > Thanks, > > On 2017/02/27 04:49:20, horo wrote: > ...
3 years, 9 months ago (2017-02-28 13:49:28 UTC) #22
Nate Chapin
LGTM with a couple nits. Is the hope that this refactoring will be helpful for ...
3 years, 9 months ago (2017-02-28 20:47:18 UTC) #23
yhirano
lgtm https://codereview.chromium.org/2715803004/diff/20001/third_party/WebKit/Source/core/loader/LoadingContext.cpp File third_party/WebKit/Source/core/loader/LoadingContext.cpp (right): https://codereview.chromium.org/2715803004/diff/20001/third_party/WebKit/Source/core/loader/LoadingContext.cpp#newcode13 third_party/WebKit/Source/core/loader/LoadingContext.cpp:13: class DocumentLoadingContext : public LoadingContext { +final https://codereview.chromium.org/2715803004/diff/20001/third_party/WebKit/Source/core/loader/LoadingContext.h ...
3 years, 9 months ago (2017-03-01 03:41:34 UTC) #24
kinuko
Thanks! Renamed to ThreadableLoadingContext. https://codereview.chromium.org/2715803004/diff/20001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp File third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp (right): https://codereview.chromium.org/2715803004/diff/20001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp#newcode148 third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp:148: DocumentThreadableLoader* DocumentThreadableLoader::create( On 2017/02/28 20:47:18, ...
3 years, 9 months ago (2017-03-01 15:08:29 UTC) #27
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/2715803004/100001
3 years, 9 months ago (2017-03-02 01:50:31 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/242581)
3 years, 9 months ago (2017-03-02 04:57:01 UTC) #43
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/2715803004/100001
3 years, 9 months ago (2017-03-02 05:04:07 UTC) #45
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 07:04:30 UTC) #48
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1a7f9ee8e1a0d5944b59e4474c13...

Powered by Google App Engine
This is Rietveld 408576698