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

Issue 2733023002: [Origin Trials] Support updates of disabled token list (Closed)

Created:
3 years, 9 months ago by chasej
Modified:
3 years, 9 months ago
CC:
chasej+watch_chromium.org, chromium-reviews, iclelland+watch_chromuim.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Origin Trials] Support updates of disabled token list This CL adds support for updating the list of disabled tokens, via the existing component updater. Like other origin trials component updates, the list is plumbed through to the ChromeOriginTrialPolicy via prefs and the browser command line. For now, the tokens will be pushed down as a list of base64-encoded token signatures. Next step is to use a bloom filter, to be more space-efficient (as in the design doc). BUG=582042 Review-Url: https://codereview.chromium.org/2733023002 Cr-Commit-Position: refs/heads/master@{#457547} Committed: https://chromium.googlesource.com/chromium/src/+/dfec22ae07134f50601cf55a828b10ddac091ac0

Patch Set 1 #

Patch Set 2 : Add working tests for policy initialization #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Add tests for shuffling prefs to command line #

Patch Set 5 : Rebase #

Patch Set 6 : Use different key in component updates #

Patch Set 7 : Rebase #

Total comments: 4

Patch Set 8 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+489 lines, -8 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/chrome_origin_trials_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/origin_trials_component_installer.cc View 1 2 3 4 5 3 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/component_updater/origin_trials_component_installer_unittest.cc View 1 2 3 4 5 6 chunks +114 lines, -3 lines 0 comments Download
M chrome/browser/prefs/origin_trial_prefs.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/origin_trials/chrome_origin_trial_policy.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/origin_trials/chrome_origin_trial_policy.cc View 3 chunks +27 lines, -0 lines 0 comments Download
M chrome/common/origin_trials/chrome_origin_trial_policy_unittest.cc View 1 3 chunks +142 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M tools/origin_trials/generate_token.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 48 (35 generated)
chasej
iclelland, please take a look. I'm still working on adding tests for Chrome main, to ...
3 years, 9 months ago (2017-03-06 20:10:17 UTC) #14
chasej
mek, please take a look. (Removing iclelland as a reviewer, who is OOO until next ...
3 years, 9 months ago (2017-03-08 19:00:28 UTC) #24
chasej
mek, ping, please take look.
3 years, 9 months ago (2017-03-10 21:09:11 UTC) #29
Marijn Kruisselbrink
sorry for the delay, looks good, just wondering if the tests could be written somewhat ...
3 years, 9 months ago (2017-03-14 05:54:42 UTC) #30
chasej
mek, please take another look. https://codereview.chromium.org/2733023002/diff/120001/chrome/browser/chrome_origin_trials_browsertest.cc File chrome/browser/chrome_origin_trials_browsertest.cc (right): https://codereview.chromium.org/2733023002/diff/120001/chrome/browser/chrome_origin_trials_browsertest.cc#newcode84 chrome/browser/chrome_origin_trials_browsertest.cc:84: if (command_line->HasSwitch(switches::kOriginTrialPublicKey)) { On ...
3 years, 9 months ago (2017-03-14 20:00:08 UTC) #33
Marijn Kruisselbrink
lgtm
3 years, 9 months ago (2017-03-14 20:13:35 UTC) #34
chasej
cpu, please take a look at chrome/browser/*.
3 years, 9 months ago (2017-03-14 20:39:55 UTC) #36
iclelland
Drive-by review with my drafts from last week before I went OOO -- feel free ...
3 years, 9 months ago (2017-03-15 15:53:41 UTC) #40
cpu_(ooo_6.6-7.5)
only looked at chrome/browser lgtm to note an old, old grievance about passing too much ...
3 years, 9 months ago (2017-03-16 17:14:42 UTC) #41
chasej
On 2017/03/16 17:14:42, cpu wrote: > only looked at chrome/browser lgtm > > to note ...
3 years, 9 months ago (2017-03-16 17:19:54 UTC) #42
chasej
On 2017/03/15 15:53:41, iclelland wrote: > Drive-by review with my drafts from last week before ...
3 years, 9 months ago (2017-03-16 19:48:01 UTC) #43
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/2733023002/140001
3 years, 9 months ago (2017-03-16 19:49:21 UTC) #45
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 20:59:52 UTC) #48
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/dfec22ae07134f50601cf55a828b...

Powered by Google App Engine
This is Rietveld 408576698