Store the list of trial tokens in OriginTrialContext
Refactor the way tokens are found by storing them separately from the
document tree in OriginTrialContext.
This simplifies the architecture a bit, making it easier to:
- add support for tokens specified in http headers.
- add support for trials in workers.
- somehow limit which tokens are considered "valid".
BUG=
601108
Committed:
https://crrev.com/b03579678fa2678748d5cbcec2e18a8a08e40701
Cr-Commit-Position: refs/heads/master@{#385504}