diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-05 17:15:33 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-11 07:47:18 +0000 |
commit | 7324afb043a0b1e623d8e8eb906cdc53bdeb4685 (patch) | |
tree | a3fe2d74ea9c9e142c390dac4ca0e219382ace46 /chromium/base/win/win_util.h | |
parent | 6a4cabb866f66d4128a97cdc6d9d08ce074f1247 (diff) |
BASELINE: Update Chromium to 58.0.3029.54
Change-Id: I67f57065a7afdc8e4614adb5c0230281428df4d1
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'chromium/base/win/win_util.h')
-rw-r--r-- | chromium/base/win/win_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/base/win/win_util.h b/chromium/base/win/win_util.h index e2dcf700540..6cb6eed5721 100644 --- a/chromium/base/win/win_util.h +++ b/chromium/base/win/win_util.h @@ -157,6 +157,14 @@ BASE_EXPORT bool IsKeyboardPresentOnSlate(std::string* reason); // Returns true if the machine is enrolled to a domain. BASE_EXPORT bool IsEnrolledToDomain(); +// Returns true if the machine is being managed by an MDM system. +BASE_EXPORT bool IsDeviceRegisteredWithManagement(); + +// Returns true if the current machine is considered enterprise managed in some +// fashion. A machine is considered managed if it is either domain enrolled +// or registered with an MDM. +BASE_EXPORT bool IsEnterpriseManaged(); + // Used by tests to mock any wanted state. Call with |state| set to true to // simulate being in a domain and false otherwise. BASE_EXPORT void SetDomainStateForTesting(bool state); |