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

Issue 1984003002: Use low entropy for studies that send experiment IDs to Google properties. (Closed)

Created:
4 years, 7 months ago by jwd
Modified:
4 years, 7 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use low entropy for studies that send experiment IDs to Google properties. This applies to all clients, even those that have metrics reporting enabled. This will cause a reshuffle of any study that is sending experiment IDs. BUG=612666 Committed: https://crrev.com/67c08f756c5907a7ff87fc59d2c6af947987881d Cr-Commit-Position: refs/heads/master@{#394544}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : Addressing comments, adding tests, adding simulator support #

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 14

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -105 lines) Patch
M base/metrics/field_trial.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M base/metrics/field_trial.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M base/test/mock_entropy_provider.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M base/test/mock_entropy_provider.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M components/metrics/metrics_service.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/metrics_state_manager.h View 1 2 1 chunk +12 lines, -5 lines 0 comments Download
M components/metrics/metrics_state_manager.cc View 1 2 3 4 5 6 7 5 chunks +25 lines, -13 lines 0 comments Download
M components/metrics/metrics_state_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/variations/entropy_provider_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/variations/service/variations_service.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M components/variations/service/variations_service.cc View 1 2 3 4 5 6 7 4 chunks +15 lines, -4 lines 0 comments Download
M components/variations/service/variations_service_unittest.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M components/variations/variations_seed_processor.h View 1 2 3 4 5 6 7 2 chunks +28 lines, -16 lines 0 comments Download
M components/variations/variations_seed_processor.cc View 1 2 3 4 5 6 7 3 chunks +20 lines, -2 lines 0 comments Download
M components/variations/variations_seed_processor_unittest.cc View 1 2 3 4 5 6 7 6 chunks +71 lines, -5 lines 0 comments Download
M components/variations/variations_seed_simulator.h View 1 2 3 2 chunks +10 lines, -4 lines 0 comments Download
M components/variations/variations_seed_simulator.cc View 1 2 3 3 chunks +12 lines, -5 lines 0 comments Download
M components/variations/variations_seed_simulator_unittest.cc View 1 2 3 4 5 6 7 12 chunks +33 lines, -35 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
jwd
For preliminary review. Still missing seed simulator changes.
4 years, 7 months ago (2016-05-17 16:22:08 UTC) #2
Alexei Svitkine (slow)
Looks great. Can you add a unit test to test the new behavior change? https://codereview.chromium.org/1984003002/diff/40001/base/metrics/field_trial.h ...
4 years, 7 months ago (2016-05-17 16:31:35 UTC) #3
jwd
Tests added. Ready for full review. https://codereview.chromium.org/1984003002/diff/40001/base/metrics/field_trial.h File base/metrics/field_trial.h (right): https://codereview.chromium.org/1984003002/diff/40001/base/metrics/field_trial.h#newcode399 base/metrics/field_trial.h:399: // |override_entropy_provider| is ...
4 years, 7 months ago (2016-05-18 13:24:18 UTC) #5
Alexei Svitkine (slow)
LGTM % comments! https://codereview.chromium.org/1984003002/diff/120001/base/test/mock_entropy_provider.h File base/test/mock_entropy_provider.h (right): https://codereview.chromium.org/1984003002/diff/120001/base/test/mock_entropy_provider.h#newcode23 base/test/mock_entropy_provider.h:23: void set_entropy_value(double entropy_value) { Is there ...
4 years, 7 months ago (2016-05-18 15:03:32 UTC) #6
jwd
+phajdan.jr@ for base/test change. https://codereview.chromium.org/1984003002/diff/120001/base/test/mock_entropy_provider.h File base/test/mock_entropy_provider.h (right): https://codereview.chromium.org/1984003002/diff/120001/base/test/mock_entropy_provider.h#newcode23 base/test/mock_entropy_provider.h:23: void set_entropy_value(double entropy_value) { On ...
4 years, 7 months ago (2016-05-18 18:31:41 UTC) #8
Alexei Svitkine (slow)
still lgtm https://codereview.chromium.org/1984003002/diff/140001/base/test/mock_entropy_provider.h File base/test/mock_entropy_provider.h (right): https://codereview.chromium.org/1984003002/diff/140001/base/test/mock_entropy_provider.h#newcode17 base/test/mock_entropy_provider.h:17: MockEntropyProvider(double entropy_value); Nit: explicit
4 years, 7 months ago (2016-05-18 18:33:29 UTC) #9
Paweł Hajdan Jr.
base/test LGTM
4 years, 7 months ago (2016-05-18 18:46:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984003002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984003002/160001
4 years, 7 months ago (2016-05-18 19:22:18 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-18 21:05:23 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 21:07:20 UTC) #17
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/67c08f756c5907a7ff87fc59d2c6af947987881d
Cr-Commit-Position: refs/heads/master@{#394544}

Powered by Google App Engine
This is Rietveld 408576698