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

Issue 455833004: base: Factor task debug annotations out of MessageLoop (Closed)

Created:
6 years, 4 months ago by Sami
Modified:
6 years, 4 months ago
Reviewers:
brettw, eseidel
CC:
chromium-reviews, erikwright+watch_chromium.org, sadrul
Project:
chromium
Visibility:
Public.

Description

base: Factor task debug annotations out of MessageLoop The MessageLoop has some code for adding debug annotations such as trace flows and memory usage tags to posted tasks. Since we want to use these annotations more generally for tasks that are scheduled outside the base message loop, this patch factors it out into a standalone class. TEST=TaskAnnotatorTest BUG=391005 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289560

Patch Set 1 #

Patch Set 2 : Fixed a typo. #

Patch Set 3 : Update BUILD.gn #

Patch Set 4 : Documentation. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -43 lines) Patch
M base/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M base/base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A base/debug/task_annotator.h View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A base/debug/task_annotator.cc View 1 chunk +74 lines, -0 lines 0 comments Download
A base/debug/task_annotator_unittest.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M base/message_loop/incoming_task_queue.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M base/message_loop/message_loop.h View 3 chunks +6 lines, -4 lines 2 comments Download
M base/message_loop/message_loop.cc View 3 chunks +3 lines, -35 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Sami
6 years, 4 months ago (2014-08-11 12:26:47 UTC) #1
Sami
6 years, 4 months ago (2014-08-12 16:17:10 UTC) #2
eseidel
I haz no powers here, but I can poke brettw when I see him in ...
6 years, 4 months ago (2014-08-12 16:18:50 UTC) #3
Sami
https://codereview.chromium.org/455833004/diff/60001/base/message_loop/message_loop.h File base/message_loop/message_loop.h (right): https://codereview.chromium.org/455833004/diff/60001/base/message_loop/message_loop.h#newcode432 base/message_loop/message_loop.h:432: debug::TaskAnnotator* task_annotator() { return &task_annotator_; } On 2014/08/12 16:18:49, ...
6 years, 4 months ago (2014-08-12 16:58:00 UTC) #4
Sami
brettw, ping?
6 years, 4 months ago (2014-08-13 11:07:56 UTC) #5
brettw
lgtm
6 years, 4 months ago (2014-08-13 17:18:16 UTC) #6
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 4 months ago (2014-08-13 17:21:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/455833004/60001
6 years, 4 months ago (2014-08-13 17:22:25 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 06:26:43 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 12:29:03 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/5523)
6 years, 4 months ago (2014-08-14 12:29:04 UTC) #11
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 4 months ago (2014-08-14 12:40:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/455833004/60001
6 years, 4 months ago (2014-08-14 12:43:01 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 14:26:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (60001) as 289560

Powered by Google App Engine
This is Rietveld 408576698