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_FAKE_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 attestation::AttestationKeyType key_type, | 153 attestation::AttestationKeyType key_type, |
154 const std::string& user_id, | 154 const std::string& user_id, |
155 const std::string& key_name, | 155 const std::string& key_name, |
156 const std::string& payload, | 156 const std::string& payload, |
157 const BoolDBusMethodCallback& callback) OVERRIDE; | 157 const BoolDBusMethodCallback& callback) OVERRIDE; |
158 virtual void TpmAttestationDeleteKeys( | 158 virtual void TpmAttestationDeleteKeys( |
159 attestation::AttestationKeyType key_type, | 159 attestation::AttestationKeyType key_type, |
160 const std::string& user_id, | 160 const std::string& user_id, |
161 const std::string& key_prefix, | 161 const std::string& key_prefix, |
162 const BoolDBusMethodCallback& callback) OVERRIDE; | 162 const BoolDBusMethodCallback& callback) OVERRIDE; |
| 163 virtual void GetKeyDataEx( |
| 164 const cryptohome::AccountIdentifier& id, |
| 165 const cryptohome::AuthorizationRequest& auth, |
| 166 const cryptohome::GetKeyDataRequest& request, |
| 167 const ProtobufMethodCallback& callback) OVERRIDE; |
163 virtual void CheckKeyEx( | 168 virtual void CheckKeyEx( |
164 const cryptohome::AccountIdentifier& id, | 169 const cryptohome::AccountIdentifier& id, |
165 const cryptohome::AuthorizationRequest& auth, | 170 const cryptohome::AuthorizationRequest& auth, |
166 const cryptohome::CheckKeyRequest& request, | 171 const cryptohome::CheckKeyRequest& request, |
167 const ProtobufMethodCallback& callback) OVERRIDE; | 172 const ProtobufMethodCallback& callback) OVERRIDE; |
168 virtual void MountEx( | 173 virtual void MountEx( |
169 const cryptohome::AccountIdentifier& id, | 174 const cryptohome::AccountIdentifier& id, |
170 const cryptohome::AuthorizationRequest& auth, | 175 const cryptohome::AuthorizationRequest& auth, |
171 const cryptohome::MountRequest& request, | 176 const cryptohome::MountRequest& request, |
172 const ProtobufMethodCallback& callback) OVERRIDE; | 177 const ProtobufMethodCallback& callback) OVERRIDE; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 std::map<std::string, std::vector<uint8> > install_attrs_; | 248 std::map<std::string, std::vector<uint8> > install_attrs_; |
244 bool locked_; | 249 bool locked_; |
245 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; | 250 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; |
246 | 251 |
247 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); | 252 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); |
248 }; | 253 }; |
249 | 254 |
250 } // namespace chromeos | 255 } // namespace chromeos |
251 | 256 |
252 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ | 257 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
OLD | NEW |