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

Issue 1162623002: Implement FromDict/IntoDict for BackgroundTracingConfig. (Closed)

Created:
5 years, 6 months ago by shatch
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement FromDict/IntoDict for BackgroundTracingConfig. This CL implements To/From JSON for preemptive and reactive configs. Short Doc: https://docs.google.com/document/d/1N7iK2rL8Y7_qLrMYZf_EiU-Anezq6_hMiGoj0rs2T9I/edit# BUG=493741 Committed: https://crrev.com/4d4bfe7b0b62ca497a921b0fbc570c6b271a50a6 Cr-Commit-Position: refs/heads/master@{#332673}

Patch Set 1 : #

Total comments: 21

Patch Set 2 : Oystein's comments addressed + cleanup. #

Total comments: 14

Patch Set 3 : Addressed dsinclair's comments. #

Patch Set 4 : Rebase + fix asan. #

Patch Set 5 : Rename file to fix mac gclient error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+645 lines, -13 lines) Patch
A content/browser/tracing/background_tracing_config_dict.cc View 1 2 3 4 1 chunk +262 lines, -0 lines 0 comments Download
A content/browser/tracing/background_tracing_config_unittest.cc View 1 2 1 chunk +381 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 43 (22 generated)
oystein (OOO til 10th of July)
https://codereview.chromium.org/1162623002/diff/20001/content/browser/tracing/background_tracing_config.cc File content/browser/tracing/background_tracing_config.cc (right): https://codereview.chromium.org/1162623002/diff/20001/content/browser/tracing/background_tracing_config.cc#newcode28 content/browser/tracing/background_tracing_config.cc:28: "trace_on_trigger_or_10s_or_trigger_or_full"; Shouldn't this be trace_on_trigger_until_10s_or_trigger_or_full? https://codereview.chromium.org/1162623002/diff/20001/content/browser/tracing/background_tracing_config.cc#newcode43 content/browser/tracing/background_tracing_config.cc:43: CHECK(false); NOTREACHED()? ...
5 years, 6 months ago (2015-05-28 17:00:47 UTC) #3
shatch
https://codereview.chromium.org/1162623002/diff/20001/content/browser/tracing/background_tracing_config.cc File content/browser/tracing/background_tracing_config.cc (right): https://codereview.chromium.org/1162623002/diff/20001/content/browser/tracing/background_tracing_config.cc#newcode28 content/browser/tracing/background_tracing_config.cc:28: "trace_on_trigger_or_10s_or_trigger_or_full"; On 2015/05/28 17:00:46, Oystein wrote: > Shouldn't this ...
5 years, 6 months ago (2015-05-28 19:17:15 UTC) #4
shatch
I think this is ready for wider review, Nat ptal
5 years, 6 months ago (2015-05-29 16:56:31 UTC) #8
shatch
+dsinclair
5 years, 6 months ago (2015-05-29 17:44:24 UTC) #10
dsinclair
https://codereview.chromium.org/1162623002/diff/80001/content/browser/tracing/background_tracing_config.cc File content/browser/tracing/background_tracing_config.cc (right): https://codereview.chromium.org/1162623002/diff/80001/content/browser/tracing/background_tracing_config.cc#newcode35 content/browser/tracing/background_tracing_config.cc:35: std::string CategoryPresetToString( Any reason these aren't all in the ...
5 years, 6 months ago (2015-06-01 14:29:54 UTC) #11
shatch
https://codereview.chromium.org/1162623002/diff/80001/content/browser/tracing/background_tracing_config.cc File content/browser/tracing/background_tracing_config.cc (right): https://codereview.chromium.org/1162623002/diff/80001/content/browser/tracing/background_tracing_config.cc#newcode35 content/browser/tracing/background_tracing_config.cc:35: std::string CategoryPresetToString( On 2015/06/01 14:29:54, dsinclair wrote: > Any ...
5 years, 6 months ago (2015-06-01 17:52:26 UTC) #12
dsinclair
lgtm
5 years, 6 months ago (2015-06-01 17:54:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/100001
5 years, 6 months ago (2015-06-01 18:18:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/71646)
5 years, 6 months ago (2015-06-01 19:27:31 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/120001
5 years, 6 months ago (2015-06-01 20:40:24 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/71747)
5 years, 6 months ago (2015-06-01 21:25:33 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/140001
5 years, 6 months ago (2015-06-02 15:06:11 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-02 15:59:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/140001
5 years, 6 months ago (2015-06-03 16:52:01 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/13504)
5 years, 6 months ago (2015-06-03 18:12:45 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/140001
5 years, 6 months ago (2015-06-03 18:16:04 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/13563)
5 years, 6 months ago (2015-06-03 19:33:33 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/140001
5 years, 6 months ago (2015-06-03 19:35:29 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1162623002/140001
5 years, 6 months ago (2015-06-03 19:38:50 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:140001)
5 years, 6 months ago (2015-06-03 20:50:15 UTC) #42
commit-bot: I haz the power
5 years, 6 months ago (2015-06-03 20:51:12 UTC) #43
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4d4bfe7b0b62ca497a921b0fbc570c6b271a50a6
Cr-Commit-Position: refs/heads/master@{#332673}

Powered by Google App Engine
This is Rietveld 408576698