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

Issue 2465953002: Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_util (Closed)

Created:
4 years, 1 month ago by robliao
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, asvitkine+watch_chromium.org, gab, fdoray
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_config This allows iOS to use fieldtrial_testing_config.json for their waterfall. BUG=660554 TBR=rch as this is moving an existing use of net/base. Committed: https://crrev.com/48f456a2e965153e5fc85dca7bff30ae972d5be5 Cr-Commit-Position: refs/heads/master@{#429935}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Moved to components/metrics/field_trial_util #

Patch Set 3 : Moved to components/variations/field_trial_util and chrome switches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -527 lines) Patch
M chrome/browser/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials_desktop.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/plugins/flash_permission_browsertest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tracing/background_tracing_field_trial.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
D chrome/common/variations/BUILD.gn View 1 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/common/variations/fieldtrial_testing_config_schema.json View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/common/variations/variations_util.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/common/variations/variations_util.cc View 1 chunk +0 lines, -153 lines 0 comments Download
D chrome/common/variations/variations_util_unittest.cc View 1 chunk +0 lines, -177 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/variations/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + components/variations/field_trial_config/BUILD.gn View 1 2 2 chunks +29 lines, -7 lines 0 comments Download
A + components/variations/field_trial_config/DEPS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/variations/field_trial_config/field_trial_testing_config_schema.json View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/variations/field_trial_config/field_trial_util.h View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
A + components/variations/field_trial_config/field_trial_util.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
A + components/variations/field_trial_config/field_trial_util_unittest.cc View 1 2 7 chunks +17 lines, -13 lines 0 comments Download
M components/variations/variations_switches.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/variations/variations_switches.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M tools/variations/fieldtrial_to_struct_unittest.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tools/variations/unittest_data/expected_output.h View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/variations/unittest_data/expected_output.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 61 (41 generated)
robliao
asvitkine: Please review this CL. If there's a more appropriate home for the fieldtrial utils, ...
4 years, 1 month ago (2016-10-31 17:06:01 UTC) #3
Alexei Svitkine (slow)
Thanks for working on this! https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS File components/variations/DEPS (right): https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS#newcode11 components/variations/DEPS:11: "+net/base", Why do we ...
4 years, 1 month ago (2016-10-31 17:22:38 UTC) #6
robliao
https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS File components/variations/DEPS (right): https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS#newcode11 components/variations/DEPS:11: "+net/base", On 2016/10/31 17:22:38, Alexei Svitkine (slow) wrote: > ...
4 years, 1 month ago (2016-10-31 17:26:25 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS File components/variations/DEPS (right): https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS#newcode11 components/variations/DEPS:11: "+net/base", On 2016/10/31 17:26:25, robliao wrote: > On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 17:29:19 UTC) #8
robliao
https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS File components/variations/DEPS (right): https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS#newcode11 components/variations/DEPS:11: "+net/base", On 2016/10/31 17:29:18, Alexei Svitkine (slow) wrote: > ...
4 years, 1 month ago (2016-10-31 17:35:12 UTC) #9
Alexei Svitkine (slow)
On 2016/10/31 17:35:12, robliao wrote: > https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS > File components/variations/DEPS (right): > > https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS#newcode11 > ...
4 years, 1 month ago (2016-11-01 14:48:15 UTC) #16
robliao
Now moved Fieldtrial Utils from chrome/common/variations to components/metrics/field_trial_util https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS File components/variations/DEPS (right): https://codereview.chromium.org/2465953002/diff/1/components/variations/DEPS#newcode11 components/variations/DEPS:11: "+net/base", ...
4 years, 1 month ago (2016-11-02 00:00:28 UTC) #20
Alexei Svitkine (slow)
Sorry, I meant components/variations/field_trial_config rather than components/metrics/field_trial_config. Apologies for making you do the extra move ...
4 years, 1 month ago (2016-11-02 17:44:49 UTC) #30
robliao
On 2016/11/02 17:44:49, Alexei Svitkine (slow) wrote: > Sorry, I meant components/variations/field_trial_config rather than > ...
4 years, 1 month ago (2016-11-02 18:21:53 UTC) #32
Alexei Svitkine (slow)
LGTM - thanks!
4 years, 1 month ago (2016-11-02 18:24:21 UTC) #35
robliao
brettw@chromium.org: Please review the refactoring changes in chrome/*. Thanks!
4 years, 1 month ago (2016-11-02 18:32:32 UTC) #38
robliao
rch: Please review the +net/base in components/variations/field_trial_config/DEPS. The specific call is net::UnescapeURLComponent taken from chrome/common ...
4 years, 1 month ago (2016-11-02 20:39:27 UTC) #42
brettw
lgtm
4 years, 1 month ago (2016-11-03 20:18:24 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2465953002/120001
4 years, 1 month ago (2016-11-03 20:33:39 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/310540)
4 years, 1 month ago (2016-11-03 22:19:07 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2465953002/120001
4 years, 1 month ago (2016-11-03 22:53:13 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/325078)
4 years, 1 month ago (2016-11-04 01:13:23 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2465953002/120001
4 years, 1 month ago (2016-11-04 16:46:28 UTC) #57
commit-bot: I haz the power
Committed patchset #3 (id:120001)
4 years, 1 month ago (2016-11-04 17:35:37 UTC) #59
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 17:47:22 UTC) #61
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/48f456a2e965153e5fc85dca7bff30ae972d5be5
Cr-Commit-Position: refs/heads/master@{#429935}

Powered by Google App Engine
This is Rietveld 408576698