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

Issue 12150004: Category group support/Renamings. (Closed)

Created:
7 years, 10 months ago by rterrazas
Modified:
7 years, 8 months ago
CC:
chromium-reviews, vsevik, jam, kkania, apatrick_chromium, joi+watch-content_chromium.org, anantha, robertshield, yurys, dyu1, darin-cc_chromium.org, erikwright+watch_chromium.org, pfeldman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Category group support/Renamings. Related review: https://codereview.chromium.org/11823016/ BUG=168284 TEST=TraceEventTestFixture.Categories, TraceEventTestFixture.CategoryFilter R=nduca Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195109

Patch Set 1 #

Patch Set 2 : Fixed TODO from related patch. #

Patch Set 3 : More renamings and category filter cleanups. #

Patch Set 4 : More renamings and category filter cleanups. #

Total comments: 79

Patch Set 5 : Fixed review comments + a few improvements. #

Total comments: 1

Patch Set 6 : Fixed comment, added better support for default filtering, fixed merge issues. #

Total comments: 32

Patch Set 7 : Fixed review comments. #

Patch Set 8 : Fixed review comments + lint errors. #

Total comments: 2

Patch Set 9 : Rebased, fixed last nit. #

Total comments: 6

Patch Set 10 : Rebased, fixed merge conflicts, lint errors, base review nits. #

Patch Set 11 : Added destructor for CategoryFilter class per CQ failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+939 lines, -688 lines) Patch
M base/debug/trace_event.h View 1 2 3 4 5 6 7 8 9 38 chunks +247 lines, -229 lines 0 comments Download
M base/debug/trace_event_android.cc View 1 2 3 4 5 6 6 chunks +12 lines, -12 lines 0 comments Download
M base/debug/trace_event_impl.h View 1 2 3 4 5 6 7 8 9 10 14 chunks +100 lines, -49 lines 0 comments Download
M base/debug/trace_event_impl.cc View 1 2 3 4 5 6 7 8 9 10 28 chunks +261 lines, -172 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 3 4 5 6 7 8 9 15 chunks +186 lines, -77 lines 0 comments Download
M base/test/trace_event_analyzer_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/automation/automation_provider.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/automation_messages_internal.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_proxy.h View 1 2 3 4 5 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/base/tracing.h View 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/test/base/tracing.cc View 1 2 3 4 2 chunks +9 lines, -8 lines 0 comments Download
M chrome/test/gpu/gpu_feature_browsertest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/test/ui/ui_test.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M components/tracing/child_trace_message_filter.h View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M components/tracing/child_trace_message_filter.cc View 1 2 3 4 5 6 3 chunks +5 lines, -7 lines 0 comments Download
M components/tracing/tracing_messages.h View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/tracing/trace_controller_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -17 lines 0 comments Download
M content/browser/tracing/trace_controller_impl.cc View 1 2 3 4 5 6 8 chunks +29 lines, -44 lines 0 comments Download
M content/browser/tracing/trace_message_filter.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/tracing/trace_message_filter.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/tracing/tracing_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/trace_controller.h View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -8 lines 0 comments Download
M content/public/browser/trace_subscriber.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/devtools/devtools_agent.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/gpu_tracer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/shared_impl/ppb_trace_event_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/webkitplatformsupport_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
nduca
This is looking really good! Some minor tweaks and I think we're good to go, ...
7 years, 10 months ago (2013-02-21 06:02:36 UTC) #1
dsinclair
https://codereview.chromium.org/12150004/diff/7001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/12150004/diff/7001/base/debug/trace_event_impl.cc#newcode421 base/debug/trace_event_impl.cc:421: DCHECK(!strchr(category_group, '"')) << Can we do this before we ...
7 years, 10 months ago (2013-02-22 21:13:44 UTC) #2
rterrazas
https://codereview.chromium.org/12150004/diff/7001/base/debug/trace_event_android.cc File base/debug/trace_event_android.cc (right): https://codereview.chromium.org/12150004/diff/7001/base/debug/trace_event_android.cc#newcode53 base/debug/trace_event_android.cc:53: std::string out = StringPrintf("B|%d|%s-%s", getpid(), category_group, On 2013/02/21 06:02:36, ...
7 years, 10 months ago (2013-02-25 05:55:02 UTC) #3
rterrazas
Also, while uploading, the presubmits complained about some files w/o owners, and suggested darin@chromium.org.
7 years, 10 months ago (2013-02-25 05:57:04 UTC) #4
rterrazas
And also, hope you don't mind, I rearranged a few things in trace_event_impl, because applying ...
7 years, 10 months ago (2013-02-25 06:02:44 UTC) #5
rterrazas
https://codereview.chromium.org/12150004/diff/7001/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/12150004/diff/7001/base/debug/trace_event_impl.h#newcode211 base/debug/trace_event_impl.h:211: }; However, I did overload = and provided an ...
7 years, 10 months ago (2013-02-25 06:05:44 UTC) #6
rterrazas
https://codereview.chromium.org/12150004/diff/22001/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/12150004/diff/22001/base/debug/trace_event_impl.h#newcode139 base/debug/trace_event_impl.h:139: // Example: CategoryFilter("*,-webkit"); would enable everything but webkit. ^Self ...
7 years, 9 months ago (2013-03-04 16:55:46 UTC) #7
nduca
How're we doing on this? @dsinclair, can you do a review on this?
7 years, 9 months ago (2013-03-12 19:49:39 UTC) #8
dsinclair
Looking pretty good, mostly nits. https://codereview.chromium.org/12150004/diff/50001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/12150004/diff/50001/base/debug/trace_event_impl.cc#newcode577 base/debug/trace_event_impl.cc:577: g_category_group_enabled + MAX_CATEGORY_GROUPS)) << ...
7 years, 9 months ago (2013-03-12 21:27:24 UTC) #9
nduca
Wrt the default constructor, ~shrug~ i'm fine with anything.
7 years, 9 months ago (2013-03-13 01:46:32 UTC) #10
rterrazas
https://codereview.chromium.org/12150004/diff/50001/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/12150004/diff/50001/base/debug/trace_event_impl.cc#newcode577 base/debug/trace_event_impl.cc:577: g_category_group_enabled + MAX_CATEGORY_GROUPS)) << On 2013/03/12 21:27:24, dsinclair wrote: ...
7 years, 9 months ago (2013-03-20 08:48:49 UTC) #11
dsinclair
LGTM with one minor nit. https://codereview.chromium.org/12150004/diff/96004/chrome/test/pyautolib/pyautolib.i File chrome/test/pyautolib/pyautolib.i (right): https://codereview.chromium.org/12150004/diff/96004/chrome/test/pyautolib/pyautolib.i#newcode133 chrome/test/pyautolib/pyautolib.i:133: %feature("docstring", "Begins tracing with ...
7 years, 9 months ago (2013-03-21 18:18:52 UTC) #12
rterrazas
Thanks for the review! :) Should I wait for Nat or someone else's approval or ...
7 years, 9 months ago (2013-03-21 18:29:43 UTC) #13
dennis_jeffrey
On 2013/03/21 18:29:43, rterrazas wrote: > Thanks for the review! :) Should I wait for ...
7 years, 9 months ago (2013-03-21 18:33:45 UTC) #14
dsinclair
On 2013/03/21 18:29:43, rterrazas wrote: > Thanks for the review! :) Should I wait for ...
7 years, 9 months ago (2013-03-21 18:34:27 UTC) #15
nduca
LGTM on my part, good job. I have added OWNERS for review.
7 years, 9 months ago (2013-03-21 19:07:50 UTC) #16
nduca
Actually, +jar for base OWNERS review. When @jar is done, lets add these folks for ...
7 years, 9 months ago (2013-03-21 19:12:24 UTC) #17
rterrazas
Fixed nit. jar@ can you please review for base?. Thanks!. https://codereview.chromium.org/12150004/diff/96004/chrome/test/pyautolib/pyautolib.i File chrome/test/pyautolib/pyautolib.i (right): https://codereview.chromium.org/12150004/diff/96004/chrome/test/pyautolib/pyautolib.i#newcode133 ...
7 years, 9 months ago (2013-03-22 03:58:42 UTC) #18
nduca
@jar, ping
7 years, 8 months ago (2013-03-30 22:52:31 UTC) #19
jar (doing other things)
base in patch set 9 LGTM with tiny nits below https://codereview.chromium.org/12150004/diff/85011/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/12150004/diff/85011/base/debug/trace_event_impl.h#newcode228 ...
7 years, 8 months ago (2013-03-31 15:14:07 UTC) #20
rterrazas
https://codereview.chromium.org/12150004/diff/85011/base/debug/trace_event_impl.h File base/debug/trace_event_impl.h (right): https://codereview.chromium.org/12150004/diff/85011/base/debug/trace_event_impl.h#newcode228 base/debug/trace_event_impl.h:228: const std::string str); On 2013/03/31 15:14:08, jar wrote: > ...
7 years, 8 months ago (2013-04-15 01:41:11 UTC) #21
dsinclair
brettw, can you please take a look for chrome/, content/, ppapi/, and webkit/ OWNERS. apatrick, ...
7 years, 8 months ago (2013-04-16 19:28:48 UTC) #22
brettw
lgtm
7 years, 8 months ago (2013-04-17 05:46:53 UTC) #23
apatrick_chromium
gpu/command_buffer/service/gpu_tracer.cc LGTM
7 years, 8 months ago (2013-04-18 20:05:01 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rubentopo@gmail.com/12150004/154002
7 years, 8 months ago (2013-04-18 20:43:22 UTC) #25
rterrazas
Thank you all for the reviews! :)
7 years, 8 months ago (2013-04-18 20:43:30 UTC) #26
commit-bot: I haz the power
Presubmit check for 12150004-154002 failed and returned exit status 1. INFO:root:Found 35 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-18 20:43:38 UTC) #27
nduca
You'll need a security team review on that file.
7 years, 8 months ago (2013-04-18 20:46:27 UTC) #28
dsinclair
cdn, can you please take a look for components/tracing/tracing_messages.h OWNERS. Thanks, dan
7 years, 8 months ago (2013-04-18 20:48:52 UTC) #29
Cris Neckar
ipc security review lgtm
7 years, 8 months ago (2013-04-18 20:56:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rubentopo@gmail.com/12150004/154002
7 years, 8 months ago (2013-04-18 21:01:41 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rubentopo@gmail.com/12150004/154002
7 years, 8 months ago (2013-04-18 21:02:29 UTC) #32
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-18 21:13:04 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rubentopo@gmail.com/12150004/199001
7 years, 8 months ago (2013-04-19 00:46:59 UTC) #34
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 08:49:07 UTC) #35
Message was sent while issue was closed.
Change committed as 195109

Powered by Google App Engine
This is Rietveld 408576698