• Mihai Sardarescu's avatar
    Remove kGoogleServicesHostedDomain preference. · 65cef4ba
    Mihai Sardarescu authored
    The hosted domain is already stored in the AccountInfo (managed by
    the AccountTrackerService). This CL removes the preference
    |kGoogleServicesHostedDomain| as it holds duplicated information.
    
    Note: There is a slight change of behavior as
    GaiaInfoUpdateService::UpdatePrimaryAccount may no longer be called
    on start-up if the hosted domain is missing. This may lead to the
    profile info cache not being updated if the application crashed after
    the AccountInfo was stored on disk, but before the ProfileInfoCache was
    stored on disk (in production code, this is impossible as the
    GaiaInfoUpdateService updates the primary account information as soon
    as AccountInfo is updated by the AccountTracker).
    
    Bug: None
    
    Change-Id: I6c7697d55528198a86f2a8a1612407c4f8807817
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617704Reviewed-by: default avatarMonica Basta <msalama@chromium.org>
    Reviewed-by: default avatarDavid Roger <droger@chromium.org>
    Commit-Queue: David Roger <droger@chromium.org>
    Auto-Submit: Mihai Sardarescu <msarda@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#842250}
    65cef4ba
signin_pref_names.h 1.3 KB