Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: components/login/secure_module_util.h

Issue 2856683002: cros: Replace "TPM" with "secure module" for machines without TPM. (Closed)
Patch Set: Use IO thread to check files. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698