DescriptionStore Origin Trials public key in browser prefs
It was pointed out during code review of another CL that the component updater
will not read the manifest for an updated Origin Trials public key in time to
set the command line for the renderer process. This CL solves the issue by
having the component updater store the new key in browser local state. The new
key will then not be used on the current browser run, but will take effect the
next time the browser is started.
The new preference is added as "origin_trials.public_key". Other origin trials
policy configuration will be added within the "origin_trials" namespace.
The command-line flag can still be used to temporarily override the preference
for a single browser run.
BUG=589830, 603588
Committed: https://crrev.com/27f4bcb37e897164fe60b13d7026057a1ee75003
Cr-Commit-Position: refs/heads/master@{#401304}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressing first round review comments #
Total comments: 6
Patch Set 3 : Fix headers; don't set command line to use the default key #Patch Set 4 : Rebase against https://codereview.chromium.org/2049783002 #Patch Set 5 : Rebase; update SetupOriginTrials method name #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 25 (7 generated)
|