| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENT_LOGIN_SECURE_MODULE_UTIL_H_ |
| 6 #define COMPONENT_LOGIN_SECURE_MODULE_UTIL_H_ |
| 7 |
| 8 #include "components/login/login_export.h" |
| 9 |
| 10 namespace login { |
| 11 |
| 12 enum class SecureModuleUsed { |
| 13 UNQUERIED, |
| 14 CR50, |
| 15 TPM, |
| 16 }; |
| 17 |
| 18 SecureModuleUsed LOGIN_EXPORT GetSecureModuleUsed(); |
| 19 |
| 20 // Querys if this machine is using Cr50. Caches the result to avoid to many |
| 21 // unnecessary IO calls. |
| 22 void LOGIN_EXPORT QuerySecureModuleUsed(); |
| 23 |
| 24 } // namespace login |
| 25 |
| 26 #endif // COMPONENT_LOGIN_SECURE_MODULE_UTIL_H_ |
| OLD | NEW |