Index: chromeos/attestation/attestation_flow.cc |
diff --git a/chromeos/attestation/attestation_flow.cc b/chromeos/attestation/attestation_flow.cc |
index 45e4c896a96cfe43d78998db74ac1caa36541bc9..f0d283f13a48f70250a61102485bfc722ec292a1 100644 |
--- a/chromeos/attestation/attestation_flow.cc |
+++ b/chromeos/attestation/attestation_flow.cc |
@@ -57,7 +57,9 @@ void DBusDataMethodCallback( |
callback.Run(result, data); |
} |
-AttestationKeyType GetKeyTypeForProfile( |
+} // namespace |
+ |
+AttestationKeyType AttestationFlow::GetKeyTypeForProfile( |
AttestationCertificateProfile profile) { |
switch (profile) { |
case PROFILE_ENTERPRISE_MACHINE_CERTIFICATE: |
@@ -71,8 +73,9 @@ AttestationKeyType GetKeyTypeForProfile( |
return KEY_USER; |
} |
-std::string GetKeyNameForProfile(AttestationCertificateProfile profile, |
- const std::string& origin) { |
+std::string AttestationFlow::GetKeyNameForProfile( |
+ AttestationCertificateProfile profile, |
+ const std::string& origin) { |
switch (profile) { |
case PROFILE_ENTERPRISE_MACHINE_CERTIFICATE: |
case PROFILE_ENTERPRISE_ENROLLMENT_CERTIFICATE: |
@@ -86,8 +89,6 @@ std::string GetKeyNameForProfile(AttestationCertificateProfile profile, |
return ""; |
} |
-} // namespace |
- |
AttestationFlow::AttestationFlow(cryptohome::AsyncMethodCaller* async_caller, |
CryptohomeClient* cryptohome_client, |
std::unique_ptr<ServerProxy> server_proxy) |