commit | 0a111c9550b74314f9868f735ba57cef0fc5f987 | [log] [tgz] |
---|---|---|
author | Christopher Thompson <cthomp@chromium.org> | Thu Jan 24 20:10:24 2019 |
committer | Christopher Thompson <cthomp@chromium.org> | Thu Jan 24 20:10:24 2019 |
tree | df08b286f8d908cf71616e838a8dbfaae97cc87b | |
parent | cc1e03c6a459c40a57ed8d8509f064f5ee5f052a [diff] |
[M72] Initial version of chrome/browser/ origin_util wrapper The new functions in chrome/browser/ssl/origin_util.* wrap the function content::IsOriginSecure() and apply per-profile enterprise policy overrides. This will allow all call-sites in chrome/browser/ to correctly handle the OverrideSecurityRestrictionsOnInsecureOrigin policy. As a first step, this also changes PermissionContextBase to use the new wrapper function, fixing a bug where enterprise policy failed to allow notifications on policy-allowed origins. Bug: 920819 Change-Id: Iaaaefbd0888e90f51dac73435e8c152e649001a9 Reviewed-on: https://chromium-review.googlesource.com/c/1417840 Commit-Queue: Christopher Thompson <cthomp@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Emily Stark <estark@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#625110}(cherry picked from commit b72369a410b338818b1ee40dc57c357e3488c563) Reviewed-on: https://chromium-review.googlesource.com/c/1435514 Reviewed-by: Christopher Thompson <cthomp@chromium.org> Cr-Commit-Position: refs/branch-heads/3626@{#778} Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437}
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 .