OLD | NEW |
---|---|
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_ARC_ARC_UTIL_H_ | 5 #ifndef COMPONENTS_ARC_ARC_UTIL_H_ |
6 #define COMPONENTS_ARC_ARC_UTIL_H_ | 6 #define COMPONENTS_ARC_ARC_UTIL_H_ |
7 | 7 |
8 // This file contains utility to see ARC functionality status controlled by | 8 // This file contains utility to see ARC functionality status controlled by |
9 // outside of ARC, e.g. CommandLine flag, attribute of global data/state, | 9 // outside of ARC, e.g. CommandLine flag, attribute of global data/state, |
10 // users' preferences, and FeatureList. | 10 // users' preferences, and FeatureList. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 bool IsArcKioskMode(); | 59 bool IsArcKioskMode(); |
60 | 60 |
61 // Returns true if it is allowed to use ARC with Active Directory managed | 61 // Returns true if it is allowed to use ARC with Active Directory managed |
62 // devices. | 62 // devices. |
63 bool IsArcAllowedForActiveDirectoryUsers(); | 63 bool IsArcAllowedForActiveDirectoryUsers(); |
64 | 64 |
65 // Checks if opt-in verification was disabled by switch in command line. | 65 // Checks if opt-in verification was disabled by switch in command line. |
66 // In most cases, it is disabled for testing purpose. | 66 // In most cases, it is disabled for testing purpose. |
67 bool IsArcOptInVerificationDisabled(); | 67 bool IsArcOptInVerificationDisabled(); |
68 | 68 |
69 // Sets CPU restriction for ARC to prioritize the container startup. | |
70 void PrioritizeArcContainerStartup(); | |
Yusuke Sato
2017/05/23 23:11:56
Actually this is not only for startup. The priorit
yueli
2017/05/23 23:38:14
Done.
| |
71 | |
69 } // namespace arc | 72 } // namespace arc |
70 | 73 |
71 #endif // COMPONENTS_ARC_ARC_UTIL_H_ | 74 #endif // COMPONENTS_ARC_ARC_UTIL_H_ |
OLD | NEW |