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

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

Issue 2856683002: cros: Replace "TPM" with "secure module" for machines without TPM. (Closed)
Patch Set: Suffixed chromeos for chromeos compiling of secure_module_*. 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
« no previous file with comments | « components/login/BUILD.gn ('k') | components/login/secure_module_util_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_LOGIN_SECURE_MODULE_UTIL_H_
6 #define COMPONENTS_LOGIN_SECURE_MODULE_UTIL_H_
7
8 #include "base/callback.h"
9 #include "components/login/login_export.h"
10
11 namespace login {
12
13 enum class SecureModuleUsed {
14 UNQUERIED,
15 CR50,
16 TPM,
17 };
18
19 // Receives one argument which contains the type of secure module we are using.
20 using GetSecureModuleUsedCallback =
21 base::OnceCallback<void(SecureModuleUsed secure_module)>;
22
23 // Gets the secure module by checking for certain files on the filesystem or in
24 // the cache. |callback| is called with type of secure module we are using.
25 void LOGIN_EXPORT GetSecureModuleUsed(GetSecureModuleUsedCallback callback);
26
27 } // namespace login
28
29 #endif // COMPONENTS_LOGIN_SECURE_MODULE_UTIL_H_
OLDNEW
« no previous file with comments | « components/login/BUILD.gn ('k') | components/login/secure_module_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698