commit | 8e5c195150aa944906770e605d22e5dc09831f51 | [log] [tgz] |
---|---|---|
author | Alex Moshchuk <[email protected]> | Tue Jan 15 03:39:50 2019 |
committer | Commit Bot <[email protected]> | Tue Jan 15 03:39:50 2019 |
tree | f45dd5d53956ea2ae1bb862acb9453f1138b61e3 | |
parent | f9becc9393f93b72dedf43e954a53624371345b2 [diff] |
Implement support for dynamically added isolated origins. This CL introduces an ability to add isolated origins at any time, rather than only at browser startup. Isolated origins added dynamically will apply only to future BrowsingInstances and processes. To do this, the calls involved in making process model decisions and looking up isolated origins, such as DoesSiteRequireDedicatedProcess, need to be aware of which BrowsingInstance is asking. This CL adds the required plumbing in the form of a new IsolationContext object. For now, IsolationContext only contains the BrowsingInstance ID, but in the future it will be extended to include BrowserContext info as well, allowing isolated origins to also be scoped to particular profiles. Calls that currently take both BrowserContext and IsolationContext will be able to simply pass an IsolationContext. Design doc: https://goo.gl/4xVPKW Bug: 905513 Change-Id: I5d6fb7724524e85efe492da26077209fa90be1bf Reviewed-on: https://chromium-review.googlesource.com/c/1377616 Commit-Queue: Alex Moshchuk <[email protected]> Reviewed-by: Charlie Reis <[email protected]> Reviewed-by: Ćukasz Anforowicz <[email protected]> Cr-Commit-Position: refs/heads/master@{#622715}
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 .