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

Issue 1887743003: Allow the component updater framework to control Origin Trials. (Closed)

Created:
4 years, 8 months ago by iclelland
Modified:
4 years, 7 months ago
Reviewers:
waffles, Sorin Jianu, chasej, sky
CC:
chromium-reviews, chasej+watch_chromium.org, cpu_(ooo_6.6-7.5)
Base URL:
https://chromium.googlesource.com/chromium/src.git@ef-finch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow the component updater framework to control Origin Trials. This patch adds support for updating the public key for verifying origin trial token signatures through the component updater. Future patches are planned to add support for disabling individual experimental APIs and for revoking individual trial tokens. This patch lays the groundwork for these, but does not actually provide those extra features. The component is not required to be present in order for origin trials to work (the default key will be used in that case), but if it is, it should include the public key in its manifest as a base64-encoded string representing 32 bytes, like this: "origin-trials": { "public-key": "abcdefghjijklmnopqrstuvwxabcdefghjijklmnopq=" } BUG=603588 Committed: https://crrev.com/99c766f3508de3e9b3c629aedb2b95a97afa3880 Cr-Commit-Position: refs/heads/master@{#390636}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Clean up code #

Patch Set 3 : Rebase and fix missed scoped_ptr -> unique_ptr conversion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -20 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A + chrome/browser/component_updater/origin_trials_component_installer.h View 1 2 2 chunks +16 lines, -20 lines 0 comments Download
A chrome/browser/component_updater/origin_trials_component_installer.cc View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/component_updater/component_updater_paths.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/component_updater/component_updater_paths.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
iclelland
On 2016/04/13 20:36:56, iclelland wrote: > mailto:iclelland@chromium.org changed reviewers: > + mailto:sorin@chromium.org, mailto:waffles@chromium.org +r waffles, ...
4 years, 8 months ago (2016-04-13 20:37:47 UTC) #3
Sorin Jianu
lgtm Thank you for sending this out! Please create a crbug and associate it with ...
4 years, 8 months ago (2016-04-13 21:17:47 UTC) #4
iclelland
Thanks, Sorin! https://codereview.chromium.org/1887743003/diff/1/chrome/browser/component_updater/origin_trials_component_installer.cc File chrome/browser/component_updater/origin_trials_component_installer.cc (right): https://codereview.chromium.org/1887743003/diff/1/chrome/browser/component_updater/origin_trials_component_installer.cc#newcode63 chrome/browser/component_updater/origin_trials_component_installer.cc:63: return true; // nothing to do! On ...
4 years, 8 months ago (2016-04-14 14:30:08 UTC) #5
Sorin Jianu
lgtm Thank you!
4 years, 8 months ago (2016-04-14 16:23:57 UTC) #7
iclelland
+r chasej for all of it +r cpu for chrome/browser/chrome_browser_main.cc specifically, though I see you ...
4 years, 8 months ago (2016-04-15 19:35:27 UTC) #9
waffles
lgtm As we discussed offline, there might be a change to kSha256Hash depending on how ...
4 years, 8 months ago (2016-04-15 19:42:21 UTC) #10
chasej
lgtm
4 years, 7 months ago (2016-04-28 13:44:55 UTC) #11
iclelland
cpu -- ping :) This still needs an OWNERS stamp for chrome_browser_main.cc, thanks!
4 years, 7 months ago (2016-04-28 14:39:07 UTC) #14
Sorin Jianu
sky@, could you please review the changes under chrome/ ? cpu@ is not really with ...
4 years, 7 months ago (2016-04-28 16:49:11 UTC) #16
iclelland
On 2016/04/28 16:49:11, Sorin Jianu wrote: > sky@, could you please review the changes under ...
4 years, 7 months ago (2016-04-28 17:35:06 UTC) #17
sky
chrome LGTM
4 years, 7 months ago (2016-04-29 00:26:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1887743003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1887743003/40001
4 years, 7 months ago (2016-04-29 13:20:57 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-29 13:24:54 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:25:31 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/99c766f3508de3e9b3c629aedb2b95a97afa3880
Cr-Commit-Position: refs/heads/master@{#390636}

Powered by Google App Engine
This is Rietveld 408576698