Avoid explicit extensions ids for policy migrator
`ExtensionPolicyMigrator::CopyPoliciesIfUnset()` now takes the hashed extension id, instead of the extension id itself, and linearly searches in the policy bundle to find a matching policy. Where this function was called with an extension id, the extension id is replaced with the hashed one. Note that HashedExtensionId generates a hash that uses upper-case letters. Bug: 878528 Change-Id: I6290fe894cfcc6e0c440b639908bd1f0866d49ba Reviewed-on: https://chromium-review.googlesource.com/1207891Reviewed-by:Julian Pastarmov <pastarmovj@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Cr-Commit-Position: refs/heads/master@{#590311}
Showing
Please register or sign in to comment