Hector Carmona | c3565bc4 | 2019-02-01 23:31:21 | [diff] [blame^] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef BASE_ENTERPRISE_UTIL_H_ |
| 6 | #define BASE_ENTERPRISE_UTIL_H_ |
| 7 | |
| 8 | #include "base/base_export.h" |
| 9 | |
| 10 | namespace base { |
| 11 | |
| 12 | // Returns true if an outside entity manages the current machine. This includes |
| 13 | // but is not limited to the presence of user accounts from a centralized |
| 14 | // directory or the presence of dynamically updatable machine policies from an |
| 15 | // outside administrator. |
| 16 | BASE_EXPORT bool IsMachineExternallyManaged(); |
| 17 | |
| 18 | } // namespace base |
| 19 | |
| 20 | #endif // BASE_ENTERPRISE_UTIL_H_ |