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

Issue 1227653002: Add scoped class for overriding field trials. (Closed)

Created:
5 years, 5 months ago by pbos-webrtc
Modified:
5 years, 5 months ago
Reviewers:
tommi, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add scoped class for overriding field trials. To be used in tests that depend on specific field-trial settings without overwriting the command-line flag for overriding field trials. BUG=webrtc:4820 R=stefan@webrtc.org Committed: https://crrev.com/19492f1c4c7411b7632fe34824226c1c579a6412 Cr-Commit-Position: refs/heads/master@{#9547}

Patch Set 1 #

Total comments: 13
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M webrtc/test/field_trial.h View 2 chunks +11 lines, -0 lines 0 comments Download
M webrtc/test/field_trial.cc View 2 chunks +16 lines, -3 lines 13 comments Download

Messages

Total messages: 15 (2 generated)
stefan-webrtc
lgtm
5 years, 5 months ago (2015-07-07 14:28:25 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1227653002/1
5 years, 5 months ago (2015-07-07 14:28:42 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-07 15:22:31 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/19492f1c4c7411b7632fe34824226c1c579a6412 Cr-Commit-Position: refs/heads/master@{#9547}
5 years, 5 months ago (2015-07-07 15:22:40 UTC) #5
tommi
https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc File webrtc/test/field_trial.cc (right): https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 webrtc/test/field_trial.cc:52: if (trials_string == "") nit: empty() is better than ...
5 years, 5 months ago (2015-07-08 09:01:35 UTC) #7
pbos-webrtc
https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc File webrtc/test/field_trial.cc (right): https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 webrtc/test/field_trial.cc:52: if (trials_string == "") On 2015/07/08 09:01:35, tommi (webrtc) ...
5 years, 5 months ago (2015-07-08 12:10:36 UTC) #8
tommi
https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc File webrtc/test/field_trial.cc (right): https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 webrtc/test/field_trial.cc:52: if (trials_string == "") On 2015/07/08 12:10:36, pbos-webrtc wrote: ...
5 years, 5 months ago (2015-07-08 12:21:12 UTC) #9
pbos-webrtc
https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc File webrtc/test/field_trial.cc (right): https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 webrtc/test/field_trial.cc:52: if (trials_string == "") On 2015/07/08 12:21:12, tommi (webrtc) ...
5 years, 5 months ago (2015-07-08 12:44:18 UTC) #10
tommi
https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc File webrtc/test/field_trial.cc (right): https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 webrtc/test/field_trial.cc:52: if (trials_string == "") On 2015/07/08 12:44:18, pbos-webrtc wrote: ...
5 years, 5 months ago (2015-07-08 13:36:59 UTC) #11
pbos-webrtc
https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc File webrtc/test/field_trial.cc (right): https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 webrtc/test/field_trial.cc:52: if (trials_string == "") On 2015/07/08 13:36:59, tommi (webrtc) ...
5 years, 5 months ago (2015-07-08 15:49:46 UTC) #12
tommi
On 2015/07/08 15:49:46, pbos-webrtc wrote: > https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc > File webrtc/test/field_trial.cc (right): > > https://codereview.webrtc.org/1227653002/diff/1/webrtc/test/field_trial.cc#newcode52 > ...
5 years, 5 months ago (2015-07-08 20:12:35 UTC) #13
pbos-webrtc
Soo this is getting long, so I'll not reply inline because we've had enough lines ...
5 years, 5 months ago (2015-07-09 12:10:26 UTC) #14
tommi
5 years, 5 months ago (2015-07-09 12:32:32 UTC) #15
Message was sent while issue was closed.
On 2015/07/09 12:10:26, pbos-webrtc wrote:
> Soo this is getting long, so I'll not reply inline because we've had enough
> lines to rant I think. :D
> 
> I've no problem with .empty meaning empty string, it's just that it doesn't
> convey the lhs type. (foo.empty() says nothing about foo being a vector, list
or
> string, whereas == "" conveys either a string or a bug.)
> 
> No bugs found (still compiles), but CL here, PTAL:
> https://codereview.webrtc.org/1228913003/

Thanks!  Length of rants and conversations like this probably goes up with the
decreased importance of the issue. ;)

Powered by Google App Engine
This is Rietveld 408576698