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

Issue 67683003: Remove TraceController (Closed)

Created:
7 years, 1 month ago by Xianzhu
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, paulirish+reviews_chromium.org, vsevik, jam, yurys, aandrey+blink_chromium.org, dsinclair+watch_chromium.org, robertshield, devtools-reviews_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Remove TraceController TraceController is obsoleted by TracingController. Changed all remaining clients to use TracingController. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237280

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Fix problematic Unretained #

Total comments: 2

Patch Set 3 : keep existing devtools protocol #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : Rebase #

Patch Set 6 : Fix android build #

Patch Set 7 : Fix browser_tests #

Patch Set 8 : Fix wrong version of tracing_controller_android.* #

Patch Set 9 : Remove wrongly added files (sorry for it) #

Patch Set 10 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+545 lines, -1638 lines) Patch
M base/debug/trace_event_impl.h View 1 2 3 4 8 chunks +11 lines, -56 lines 0 comments Download
M base/debug/trace_event_impl.cc View 1 2 3 4 5 6 24 chunks +76 lines, -140 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 3 4 11 chunks +13 lines, -35 lines 0 comments Download
M chrome/browser/automation/automation_provider.h View 5 chunks +3 lines, -19 lines 0 comments Download
M chrome/browser/automation/automation_provider.cc View 5 chunks +16 lines, -42 lines 0 comments Download
M chrome/browser/feedback/feedback_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/feedback/feedback_util.cc View 1 2 3 4 1 chunk +15 lines, -6 lines 0 comments Download
M chrome/browser/feedback/tracing_manager.h View 3 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/feedback/tracing_manager.cc View 1 6 chunks +15 lines, -24 lines 0 comments Download
M chrome/common/automation_messages_internal.h View 1 chunk +1 line, -9 lines 0 comments Download
M chrome/test/automation/automation_proxy.cc View 2 chunks +6 lines, -24 lines 0 comments Download
M chrome/test/base/tracing.cc View 1 2 3 4 5 6 7 8 9 6 chunks +50 lines, -30 lines 0 comments Download
M components/tracing/child_trace_message_filter.h View 2 chunks +1 line, -2 lines 0 comments Download
M components/tracing/child_trace_message_filter.cc View 1 2 3 4 5 6 3 chunks +13 lines, -16 lines 0 comments Download
M components/tracing/tracing_messages.h View 3 chunks +4 lines, -5 lines 0 comments Download
M content/browser/android/tracing_controller_android.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/android/tracing_controller_android.cc View 1 2 3 4 5 6 7 3 chunks +21 lines, -46 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.h View 1 2 3 4 1 chunk +13 lines, -13 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.cc View 1 2 3 4 5 chunks +80 lines, -32 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
D content/browser/tracing/trace_controller_impl.h View 1 chunk +0 lines, -105 lines 0 comments Download
D content/browser/tracing/trace_controller_impl.cc View 1 chunk +0 lines, -371 lines 0 comments Download
M content/browser/tracing/trace_message_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tracing/trace_message_filter.cc View 8 chunks +8 lines, -15 lines 0 comments Download
D content/browser/tracing/trace_subscriber_stdio.h View 1 chunk +0 lines, -57 lines 0 comments Download
D content/browser/tracing/trace_subscriber_stdio.cc View 1 2 3 4 5 6 1 chunk +0 lines, -201 lines 0 comments Download
D content/browser/tracing/trace_subscriber_stdio_unittest.cc View 1 chunk +0 lines, -132 lines 0 comments Download
M content/browser/tracing/tracing_controller_browsertest.cc View 1 2 3 4 6 chunks +7 lines, -8 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.h View 1 2 3 4 5 6 5 chunks +27 lines, -12 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 1 2 3 4 5 6 14 chunks +121 lines, -49 lines 1 comment Download
M content/browser/tracing/tracing_ui.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -6 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
D content/public/browser/trace_controller.h View 1 chunk +0 lines, -107 lines 0 comments Download
D content/public/browser/trace_subscriber.h View 1 chunk +0 lines, -43 lines 0 comments Download
M content/public/browser/tracing_controller.h View 1 2 3 4 9 chunks +25 lines, -10 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
Xianzhu
Hi, could you review the following files in this CL: dsinclair@: base/debug/trace*, content/browser/tracing/trac* nduca@: components/tracing/* ...
7 years, 1 month ago (2013-11-15 23:02:49 UTC) #1
rkc
Rubberstamp LGTM for Feedback/* Still need zork@'s review since all the changes are tracing related.
7 years, 1 month ago (2013-11-15 23:13:49 UTC) #2
Zachary Kuznia
https://codereview.chromium.org/67683003/diff/30001/chrome/browser/feedback/feedback_util.h File chrome/browser/feedback/feedback_util.h (right): https://codereview.chromium.org/67683003/diff/30001/chrome/browser/feedback/feedback_util.h#newcode41 chrome/browser/feedback/feedback_util.h:41: bool ZipFile(const base::FilePath& filename, std::string* compressed_data); You should put ...
7 years, 1 month ago (2013-11-15 23:21:36 UTC) #3
nduca
lgtm
7 years, 1 month ago (2013-11-15 23:23:51 UTC) #4
Xianzhu
https://codereview.chromium.org/67683003/diff/30001/chrome/browser/feedback/feedback_util.h File chrome/browser/feedback/feedback_util.h (right): https://codereview.chromium.org/67683003/diff/30001/chrome/browser/feedback/feedback_util.h#newcode41 chrome/browser/feedback/feedback_util.h:41: bool ZipFile(const base::FilePath& filename, std::string* compressed_data); On 2013/11/15 23:21:36, ...
7 years, 1 month ago (2013-11-15 23:25:32 UTC) #5
Zachary Kuznia
Ah, I see now. LGTM
7 years, 1 month ago (2013-11-15 23:27:26 UTC) #6
piman
https://codereview.chromium.org/67683003/diff/30001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/67683003/diff/30001/content/browser/devtools/devtools_tracing_handler.cc#newcode57 content/browser/devtools/devtools_tracing_handler.cc:57: base::Unretained(this), path)); What makes Unretained here safe? https://codereview.chromium.org/67683003/diff/30001/content/browser/devtools/devtools_tracing_handler.cc#newcode92 content/browser/devtools/devtools_tracing_handler.cc:92: ...
7 years, 1 month ago (2013-11-15 23:42:51 UTC) #7
Xianzhu
https://codereview.chromium.org/67683003/diff/30001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/67683003/diff/30001/content/browser/devtools/devtools_tracing_handler.cc#newcode57 content/browser/devtools/devtools_tracing_handler.cc:57: base::Unretained(this), path)); On 2013/11/15 23:42:52, piman wrote: > What ...
7 years, 1 month ago (2013-11-16 01:16:13 UTC) #8
pfeldman
devtools not lgtm. You are breaking semantics of the Tracing.* domain of the remote debugging ...
7 years, 1 month ago (2013-11-16 13:11:20 UTC) #9
nduca
Oh good catch pavel. @wangxianzhu, lets make the devtools protocol and any other parts of ...
7 years, 1 month ago (2013-11-16 22:19:20 UTC) #10
jam
On 2013/11/15 23:02:49, Xianzhu wrote: > Hi, could you review the following files in this ...
7 years, 1 month ago (2013-11-18 16:57:20 UTC) #11
Xianzhu
pfeldman@ PTAL. Now keep the original devtools protocol.
7 years, 1 month ago (2013-11-19 18:28:13 UTC) #12
piman
LGTM for content/
7 years, 1 month ago (2013-11-19 20:28:39 UTC) #13
pfeldman
https://codereview.chromium.org/67683003/diff/230001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/67683003/diff/230001/content/browser/devtools/devtools_tracing_handler.cc#newcode45 content/browser/devtools/devtools_tracing_handler.cc:45: void DevToolsTracingHandler::ReadRecordingResult(const base::FilePath& path) { Please make sure order ...
7 years, 1 month ago (2013-11-20 00:10:09 UTC) #14
Xianzhu
https://codereview.chromium.org/67683003/diff/230001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/67683003/diff/230001/content/browser/devtools/devtools_tracing_handler.cc#newcode45 content/browser/devtools/devtools_tracing_handler.cc:45: void DevToolsTracingHandler::ReadRecordingResult(const base::FilePath& path) { On 2013/11/20 00:10:10, pfeldman ...
7 years, 1 month ago (2013-11-20 00:37:21 UTC) #15
pfeldman
lgtm
7 years, 1 month ago (2013-11-20 00:50:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/720001
7 years, 1 month ago (2013-11-21 19:09:14 UTC) #17
Xianzhu
+cdn@ for messages.
7 years, 1 month ago (2013-11-21 19:20:02 UTC) #18
Xianzhu
+jln (for components/tracing/tracing_messages.h and chrome/common/automation_messages_internal.h)
7 years, 1 month ago (2013-11-22 17:01:26 UTC) #19
Xianzhu
+tsepez for *messages*.h
7 years, 1 month ago (2013-11-22 19:30:16 UTC) #20
Tom Sepez
On 2013/11/22 19:30:16, Xianzhu wrote: > +tsepez for *messages*.h Where are you generating the file ...
7 years, 1 month ago (2013-11-22 19:47:48 UTC) #21
Xianzhu
On 2013/11/22 19:47:48, Tom Sepez wrote: > On 2013/11/22 19:30:16, Xianzhu wrote: > > +tsepez ...
7 years, 1 month ago (2013-11-22 21:19:55 UTC) #22
Tom Sepez
messages LGTM. Thanks.
7 years, 1 month ago (2013-11-22 21:23:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/720001
7 years, 1 month ago (2013-11-22 21:33:46 UTC) #24
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=95108
7 years, 1 month ago (2013-11-22 22:08:30 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1090001
7 years, 1 month ago (2013-11-22 23:22:14 UTC) #26
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=192302
7 years, 1 month ago (2013-11-23 01:03:24 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1090001
7 years, 1 month ago (2013-11-23 01:13:34 UTC) #28
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=100266
7 years, 1 month ago (2013-11-23 04:11:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1660001
7 years ago (2013-11-25 20:04:11 UTC) #30
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=95582
7 years ago (2013-11-25 20:57:09 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1640002
7 years ago (2013-11-25 21:55:48 UTC) #32
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38006
7 years ago (2013-11-25 22:13:49 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1690001
7 years ago (2013-11-25 22:30:31 UTC) #34
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=194995
7 years ago (2013-11-26 00:27:47 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1710001
7 years ago (2013-11-26 01:23:03 UTC) #36
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=193143
7 years ago (2013-11-26 02:12:27 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/67683003/1710001
7 years ago (2013-11-26 04:59:51 UTC) #38
commit-bot: I haz the power
Change committed as 237280
7 years ago (2013-11-26 06:13:14 UTC) #39
no sievers
7 years ago (2013-12-05 02:25:57 UTC) #40
Message was sent while issue was closed.
https://codereview.chromium.org/67683003/diff/1710001/content/browser/tracing...
File content/browser/tracing/tracing_controller_impl.cc (right):

https://codereview.chromium.org/67683003/diff/1710001/content/browser/tracing...
content/browser/tracing/tracing_controller_impl.cc:637:
base::Unretained(this)));
missing return, i'll upload a patch

Powered by Google App Engine
This is Rietveld 408576698