GOOGLE_CHROME_BUILD -> GOOGLE_CHROME_BRANDING for mdm_utils.h/cc
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:Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#711471}
Showing
Please register or sign in to comment