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

Issue 2098433002: Remove ExecutionContextTask::taskNameForInstrumentation() (Closed)

Created:
4 years, 6 months ago by hiroshige
Modified:
4 years, 5 months ago
Reviewers:
kinuko, haraken, tzik
CC:
chromium-reviews, kinuko+worker_chromium.org, tzik, sof, eae+blinkwatch, nhiroki, falken, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, horo+watch_chromium.org, kinuko+fileapi, blink-worker-reviews_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ExecutionContextTask::taskNameForInstrumentation() taskNameForInstrumentation() is a cause to define custom subclasses of ExecutionContextTask and blocks removal of such custom subclasses. This CL split it out to an argument of postTask() to enable further refactoring of ExecutionContextTask subclasses. BUG=478194 Committed: https://crrev.com/d25ee900e7efe3ad6c677868ff42fbbfd92b8fae Cr-Commit-Position: refs/heads/master@{#402079}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -61 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContext.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContextTask.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp View 3 chunks +13 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StringCallback.cpp View 2 chunks +4 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/testing/NullExecutionContext.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/NullExecutionContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkletGlobalScope.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h View 8 chunks +12 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp View 2 chunks +1 line, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2098433002/1
4 years, 6 months ago (2016-06-23 09:28:30 UTC) #2
hiroshige
WDYT? Alternatives are: - Add ExecutionContextTask::m_taskNameForInstrumentation. cons: Adding String to possibly cross-thread ExecutionContextTask looks unsafe. ...
4 years, 6 months ago (2016-06-23 09:46:49 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 10:48:49 UTC) #7
kinuko
I think this change makes sense. lgtm
4 years, 6 months ago (2016-06-23 15:43:07 UTC) #8
haraken
LGTM
4 years, 6 months ago (2016-06-24 00:47:11 UTC) #9
tzik
lgtm
4 years, 6 months ago (2016-06-24 03:56:41 UTC) #10
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/2098433002/1
4 years, 5 months ago (2016-06-26 08:08:16 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-26 09:24:18 UTC) #14
commit-bot: I haz the power
4 years, 5 months ago (2016-06-26 09:26:41 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d25ee900e7efe3ad6c677868ff42fbbfd92b8fae
Cr-Commit-Position: refs/heads/master@{#402079}

Powered by Google App Engine
This is Rietveld 408576698