Make |configuration_policy_provider_| a raw pointer in ProfileImpl.
ProfileImpl curently has a unique_ptr<ConfigurationPolicyProvider> and a UserCloudPolicyManager* that is points to the same object - when not in Chrome OS. This CL changes the ownership to be the most specific object type: - unique_ptr<ConfigurationPolicyProvider> in Chrome OS - unique_ptr<policy::UserCloudPolicyManager> in other platforms This change is a precursor of https://chromium-review.googlesource.com/c/chromium/src/+/1579768 which will break the Chrome OS options further. Bug: 937770 Change-Id: I9aea3b2f40afbbd0801cca61cd1a64a3e63cc57c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1606576 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#659658}
Showing
Please register or sign in to comment