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

Issue 1808353002: Reland - Update DevTools Tracing.Start to accept trace config as a parameter (Closed)

Created:
4 years, 9 months ago by Zhen Wang
Modified:
4 years, 9 months ago
Reviewers:
fgorski
CC:
chromium-reviews, caseq+blink_chromium.org, pfeldman+blink_chromium.org, wfh+watch_chromium.org, jam, lushnikov+blink_chromium.org, blink-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, tracing+reviews_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland - Update DevTools Tracing.Start to accept trace config as a parameter Original CL: https://crrev.com/1765153002 Forgot to decouple some statement from DCHECK, which was actually pointed out by Primiano before. Should be fixed now. -------------------- original description -------------------- This CL updates Tracing.Start to accept trace config as a parameter when starting tracing. It is backward compatible with the old way. Design doc: https://goo.gl/GxQ23k BUG=579358 TBR=primiano@chromium.org,caseq@chromium.org,simonhatch@chromium.org,petrcermak@chromium.org,pfeldman@chromium.org Committed: https://crrev.com/af6fe5172a632660bb0c2d70b6b7f3bbe08aa284 Cr-Commit-Position: refs/heads/master@{#381892}

Patch Set 1 : Patch original CL (1765153002) #

Total comments: 2

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -38 lines) Patch
M base/trace_event/trace_config.h View 2 chunks +8 lines, -1 line 0 comments Download
M base/trace_event/trace_config.cc View 3 chunks +30 lines, -19 lines 0 comments Download
M base/trace_event/trace_config_unittest.cc View 1 3 chunks +64 lines, -0 lines 0 comments Download
M components/tracing/trace_config_file.cc View 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/devtools/protocol/tracing_handler.h View 4 chunks +9 lines, -1 line 0 comments Download
M content/browser/devtools/protocol/tracing_handler.cc View 4 chunks +78 lines, -8 lines 0 comments Download
A content/browser/devtools/protocol/tracing_handler_unittest.cc View 1 chunk +73 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTracingAgent.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp View 1 chunk +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/protocol.json View 1 chunk +37 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
fgorski
https://codereview.chromium.org/1808353002/diff/1/base/trace_event/trace_config_unittest.cc File base/trace_event/trace_config_unittest.cc (right): https://codereview.chromium.org/1808353002/diff/1/base/trace_event/trace_config_unittest.cc#newcode311 base/trace_event/trace_config_unittest.cc:311: DCHECK(custom_value->GetAsDictionary(&custom_dict)); this line gets compiled out in release builds.
4 years, 9 months ago (2016-03-17 23:44:48 UTC) #3
Zhen Wang
https://codereview.chromium.org/1808353002/diff/1/base/trace_event/trace_config_unittest.cc File base/trace_event/trace_config_unittest.cc (right): https://codereview.chromium.org/1808353002/diff/1/base/trace_event/trace_config_unittest.cc#newcode311 base/trace_event/trace_config_unittest.cc:311: DCHECK(custom_value->GetAsDictionary(&custom_dict)); On 2016/03/17 23:44:48, fgorski wrote: > this line ...
4 years, 9 months ago (2016-03-18 00:02:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808353002/20001
4 years, 9 months ago (2016-03-18 00:41:08 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/190928)
4 years, 9 months ago (2016-03-18 03:11:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808353002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808353002/20001
4 years, 9 months ago (2016-03-18 04:53:14 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-18 04:59:11 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 05:00:21 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/af6fe5172a632660bb0c2d70b6b7f3bbe08aa284
Cr-Commit-Position: refs/heads/master@{#381892}

Powered by Google App Engine
This is Rietveld 408576698