• joaodasilva@chromium.org's avatar
    Move ownership of the ComponentCloudPolicyService to the broker. · db25a7e9
    joaodasilva@chromium.org authored
    The ComponentCloudPolicyService needs to work with the SchemaRegistry,
    so it was initially owned by the DeviceLocalAccountPolicyProvider
    (which always has a valid reference to the registry). However, this
    means that the ComponentCloudPolicyService can't precache any policies
    until the session is started.
    
    To enable precaching at enrollment time and at the login screen, the
    ComponentCloudPolicyService has been moved to the broker instead.
    This allows some code simplifications too, but requires changing the
    ownership of the SchemaRegistry for device local accounts.
    
    This CL is just moving code around; a subsequent CL will trigger
    the precaching.
    
    TBR=zelidrag@chromium.org
    BUG=224596
    
    Review URL: https://codereview.chromium.org/342233005
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278847 0039d316-1c4b-4281-b951-d872f2087c98
    db25a7e9
chromeos_paths.h 2.67 KB