OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ | 5 #ifndef CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ |
6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ | 6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual void TpmAttestationIsPrepared( | 83 virtual void TpmAttestationIsPrepared( |
84 const BoolDBusMethodCallback& callback) OVERRIDE; | 84 const BoolDBusMethodCallback& callback) OVERRIDE; |
85 virtual void TpmAttestationIsEnrolled( | 85 virtual void TpmAttestationIsEnrolled( |
86 const BoolDBusMethodCallback& callback) OVERRIDE; | 86 const BoolDBusMethodCallback& callback) OVERRIDE; |
87 virtual void AsyncTpmAttestationCreateEnrollRequest( | 87 virtual void AsyncTpmAttestationCreateEnrollRequest( |
88 const AsyncMethodCallback& callback) OVERRIDE; | 88 const AsyncMethodCallback& callback) OVERRIDE; |
89 virtual void AsyncTpmAttestationEnroll( | 89 virtual void AsyncTpmAttestationEnroll( |
90 const std::string& pca_response, | 90 const std::string& pca_response, |
91 const AsyncMethodCallback& callback) OVERRIDE; | 91 const AsyncMethodCallback& callback) OVERRIDE; |
92 virtual void AsyncTpmAttestationCreateCertRequest( | 92 virtual void AsyncTpmAttestationCreateCertRequest( |
93 int options, | 93 attestation::AttestationCertificateProfile certificate_profile, |
| 94 const std::string& user_email, |
| 95 const std::string& request_origin, |
94 const AsyncMethodCallback& callback) OVERRIDE; | 96 const AsyncMethodCallback& callback) OVERRIDE; |
95 virtual void AsyncTpmAttestationFinishCertRequest( | 97 virtual void AsyncTpmAttestationFinishCertRequest( |
96 const std::string& pca_response, | 98 const std::string& pca_response, |
97 attestation::AttestationKeyType key_type, | 99 attestation::AttestationKeyType key_type, |
98 const std::string& key_name, | 100 const std::string& key_name, |
99 const AsyncMethodCallback& callback) OVERRIDE; | 101 const AsyncMethodCallback& callback) OVERRIDE; |
100 virtual void TpmAttestationDoesKeyExist( | 102 virtual void TpmAttestationDoesKeyExist( |
101 attestation::AttestationKeyType key_type, | 103 attestation::AttestationKeyType key_type, |
102 const std::string& key_name, | 104 const std::string& key_name, |
103 const BoolDBusMethodCallback& callback) OVERRIDE; | 105 const BoolDBusMethodCallback& callback) OVERRIDE; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 std::map<std::string, std::vector<uint8> > install_attrs_; | 157 std::map<std::string, std::vector<uint8> > install_attrs_; |
156 bool locked_; | 158 bool locked_; |
157 base::WeakPtrFactory<CryptohomeClientStubImpl> weak_ptr_factory_; | 159 base::WeakPtrFactory<CryptohomeClientStubImpl> weak_ptr_factory_; |
158 | 160 |
159 DISALLOW_COPY_AND_ASSIGN(CryptohomeClientStubImpl); | 161 DISALLOW_COPY_AND_ASSIGN(CryptohomeClientStubImpl); |
160 }; | 162 }; |
161 | 163 |
162 } // namespace chromeos | 164 } // namespace chromeos |
163 | 165 |
164 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ | 166 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ |
OLD | NEW |