• Dominique Fauteux-Chapleau's avatar
    Reland "Add profile DM token reading code to ConnectorsService" · c13da000
    Dominique Fauteux-Chapleau authored
    This relands crrev.com/c/2590429 with the exact same changes, except
    with some changes to avoid the CFI error that caused a revert
    (crrev.com/c/2597715). Those differences with the original CL can be
    seen by looking at the patchset 1-3 diff.
    
    This is a reland of 4ee6e77f
    
    Original change's description:
    > 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/+/2590429
    > Reviewed-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}
    
    Bug: 1148789
    Bug: 1155585
    Change-Id: Ic69ae3760171932f1f7dde8674a90b860ce22b4b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2603586Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
    Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
    Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#840221}
    c13da000
affiliation.h 890 Bytes