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

Issue 2264543002: Move createCrossThreadTask to ExecutionContextTask.h (Closed)

Created:
4 years, 4 months ago by yuryu
Modified:
4 years, 3 months ago
Reviewers:
hiroshige, haraken, tzik
CC:
chromium-reviews, tzik, eae+blinkwatch, kinuko+worker_chromium.org, kinuko+watch, rwlbuis, yhirano+watch_chromium.org, hongchan, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, loading-reviews_chromium.org, mcasas+watch+mediastream_chromium.org, sof, nhiroki, Raymond Toy, blink-reviews, tommyw+watchlist_chromium.org, Nate Chapin, tyoshino+watch_chromium.org, falken, blink-worker-reviews_chromium.org, horo+watch_chromium.org, kinuko+fileapi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move createCrossThreadTask to ExecutionContextTask.h Move createCrossThreadTask to ExecutionContextTask.h so that both same thread and cross thread versions of createTask are in the same header file. Currently createCrossThreadTask is in CrossThreadTask.h, but the implementation is a few lines of code, so merging it to ExecutionContextTask.h and removing CrossThreadTask.h. BUG=638839 Committed: https://crrev.com/84f5959aa09e9841e5aea9993247b46b42a60d9a Cr-Commit-Position: refs/heads/master@{#414390}

Patch Set 1 #

Patch Set 2 : Move createCrossThreadTask to ExecutionContextTask.h #

Patch Set 3 : update and rebase #

Patch Set 4 : Fix compile error / remove extra #include #

Patch Set 5 : Remove unintended indent change #

Patch Set 6 : Fix tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -192 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 2 chunks +1 line, -2 lines 0 comments Download
D third_party/WebKit/Source/core/dom/CrossThreadTask.h View 1 chunk +0 lines, -93 lines 0 comments Download
D third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp View 1 chunk +0 lines, -68 lines 1 comment Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContextTask.h View 1 2 chunks +52 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/dom/ExecutionContextTaskTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MessagePort.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/Database.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (17 generated)
yuryu
4 years, 4 months ago (2016-08-25 06:51:10 UTC) #13
haraken
https://codereview.chromium.org/2264543002/diff/90001/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp File third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp (left): https://codereview.chromium.org/2264543002/diff/90001/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp#oldcode44 third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp:44: TEST_F(CrossThreadTaskTest, CreateForGarbageCollectedMethod) Do we want to remove tests in ...
4 years, 4 months ago (2016-08-25 07:41:06 UTC) #14
yuryu
On 2016/08/25 07:41:06, haraken wrote: > https://codereview.chromium.org/2264543002/diff/90001/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp > File third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp (left): > > https://codereview.chromium.org/2264543002/diff/90001/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp#oldcode44 > ...
4 years, 4 months ago (2016-08-25 08:08:57 UTC) #15
haraken
On 2016/08/25 08:08:57, yuryu wrote: > On 2016/08/25 07:41:06, haraken wrote: > > > https://codereview.chromium.org/2264543002/diff/90001/third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp ...
4 years, 4 months ago (2016-08-25 08:11:14 UTC) #16
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/2264543002/90001
4 years, 4 months ago (2016-08-25 08:40:53 UTC) #18
yuryu
On 2016/08/25 08:11:14, haraken wrote: > LGTM. Thanks!
4 years, 4 months ago (2016-08-25 08:41:19 UTC) #19
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/129762)
4 years, 4 months ago (2016-08-25 09:58:29 UTC) #21
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/2264543002/90001
4 years, 4 months ago (2016-08-25 10:27:07 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:90001)
4 years, 3 months ago (2016-08-25 11:07:25 UTC) #25
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/84f5959aa09e9841e5aea9993247b46b42a60d9a Cr-Commit-Position: refs/heads/master@{#414390}
4 years, 3 months ago (2016-08-25 11:09:11 UTC) #27
hiroshige
4 years, 3 months ago (2016-08-25 12:51:39 UTC) #28
Message was sent while issue was closed.
lgtm!

Powered by Google App Engine
This is Rietveld 408576698