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

Issue 17945002: Make --force-fieldtrials not activate them in the browser process. (Closed)

Created:
7 years, 6 months ago by Alexei Svitkine (slow)
Modified:
7 years, 5 months ago
Reviewers:
Ilya Sherman, Nico, jam
CC:
chromium-reviews, dominich, mad+watch_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, jar (doing other things), dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jam, joi+watch-content_chromium.org, samarth+watch_chromium.org, jfweitz+watch_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, kmadhusu+watch_chromium.org, David Black, erikwright+watch_chromium.org, Ilya Sherman, Jered
Visibility:
Public.

Description

Make --force-fieldtrials not activate them in the browser process. This is to make this testing flag more consistent with what happens with a server-side field trial, so that the field trial doesn't appear in about:version until client code explicitly queries its state via a group() call. Does not change the behaviour of the --force-fieldtrials flag when passes to the renderer process, where it does need to activate the trials so that they show up in crash reports, etc. BUG=255142 TEST=Start a debug build of Chrome with the command line flag --force-fieldtrials=Bat/Man/ and check that it doesn't show up in chrome://version. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209795

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -32 lines) Patch
M base/metrics/field_trial.h View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M base/metrics/field_trial.cc View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 2 4 chunks +58 lines, -11 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/metrics_private/metrics_apitest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search/search_unittest.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/renderer_main.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Alexei Svitkine (slow)
7 years, 5 months ago (2013-06-27 19:42:08 UTC) #1
Ilya Sherman
LGTM % nits. https://codereview.chromium.org/17945002/diff/66001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/17945002/diff/66001/base/metrics/field_trial.cc#newcode394 base/metrics/field_trial.cc:394: // crash reports. nit: Please move ...
7 years, 5 months ago (2013-06-28 00:58:07 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/17945002/diff/66001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/17945002/diff/66001/base/metrics/field_trial.cc#newcode394 base/metrics/field_trial.cc:394: // crash reports. On 2013/06/28 00:58:07, Ilya Sherman wrote: ...
7 years, 5 months ago (2013-06-28 17:05:14 UTC) #3
Alexei Svitkine (slow)
+thakis for chrome/ +jam for content/
7 years, 5 months ago (2013-06-28 17:11:37 UTC) #4
Nico
chrome/ lgtm https://codereview.chromium.org/17945002/diff/78002/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/17945002/diff/78002/chrome/browser/chrome_browser_main.cc#newcode615 chrome/browser/chrome_browser_main.cc:615: const bool result = base::FieldTrialList::CreateTrialsFromString( optional nit: ...
7 years, 5 months ago (2013-06-28 19:53:38 UTC) #5
jam
lgtm
7 years, 5 months ago (2013-06-28 22:17:59 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/17945002/diff/78002/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/17945002/diff/78002/chrome/browser/chrome_browser_main.cc#newcode615 chrome/browser/chrome_browser_main.cc:615: const bool result = base::FieldTrialList::CreateTrialsFromString( On 2013/06/28 19:53:38, Nico ...
7 years, 5 months ago (2013-07-02 18:14:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/17945002/93001
7 years, 5 months ago (2013-07-02 18:38:05 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-02 22:25:07 UTC) #9
Message was sent while issue was closed.
Change committed as 209795

Powered by Google App Engine
This is Rietveld 408576698