• Nico Weber's avatar
    GOOGLE_CHROME_BUILD -> GOOGLE_CHROME_BRANDING for mdm_utils.h/cc · 2bc76571
    Nico Weber authored
    The MDM service is disabled in Chromium branded builds, but it can be
    enabled in tests via the GoogleMdmEscrowServiceEnablerForTesting class.
    
    The class used to be available only in GOOGLE_CHROME_BUILD builds.
    To not use GOOGLE_CHROME_BUILD in a .h file, make the class available
    always and make it a no-op in GOOGLE_CHROME builds.
    
    That simplifies a few tests, removes a dependency on the GOOGLE_CHROME_BRANDING
    buildflag header target, and makes it easy to remove GOOGLE_CHROME_BUILD
    from mdm_utils.h/cc
    
    While here, also remove the unused parameter for
    GoogleMdmEscrowServiceEnablerForTesting's constructor.
    
    Bug: 961769
    Change-Id: I1dfdbdf056634d1e47272f397c11919193bf7fc3
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894295
    Commit-Queue: Nico Weber <thakis@chromium.org>
    Auto-Submit: Nico Weber <thakis@chromium.org>
    Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#711471}
    2bc76571
gaia_credential_base_unittests.cc 63.7 KB