Add profile DM token reading code to ConnectorsService
This adds the main code to read the DM token from the profile instead of CBCM. The PerProfileConnectorsEnabled feature guards these changes from affecting working Connector policies. This change is insufficient to test per-profile Connectors since the authentication and reporting code still assume the DM token is from the browser. This adds a tweak to Connector policy test setters to ensure existing tests don't break and still use the browser DM token. Bug: 1148789, 1155585 Change-Id: I64bb1714667b0b61fdfdbadffbc153328e22f741 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2590429Reviewed-by:Julian Pastarmov <pastarmovj@chromium.org> Reviewed-by:
Daniel Rubery <drubery@chromium.org> Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org> Cr-Commit-Position: refs/heads/master@{#838139}
Showing
This diff is collapsed.
Please register or sign in to comment