commit | 2fa459968165c33d2f648885392277c8e7fd1a59 | [log] [tgz] |
---|---|---|
author | Matt Menke <mmenke@chromium.org> | Tue Aug 06 23:07:35 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Aug 06 23:07:35 2019 |
tree | 60e7c2a59be8c0f717f4869e0f1186ce556fa527 | |
parent | c992574c71682b1e8d2a8fa35a63e996f8b6ff2b [diff] |
NetworkIsolationKey: Add code to convert from/to a base::Value. Opaque origins cannot be converted to base::Values, but empty keys and fully populated ones can be. This allows saving to/loading data from a JSON-formatted file, regardless of whether NetworkIsolationKeys are enabled (And covers internal consumers that aren't using them), and also allows using opaque origins as keys in the in-memory cache, but not writing them to disk. Bug: 969890 Change-Id: I49809a609a70251c8de583f8651a2b303e6b21e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1737070 Reviewed-by: Shivani Sharma <shivanisha@chromium.org> Reviewed-by: Josh Karlin <jkarlin@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#684550}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .