| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MOCK_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chromeos/dbus/cryptohome/rpc.pb.h" | 10 #include "chromeos/dbus/cryptohome/rpc.pb.h" |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 void(attestation::AttestationKeyType key_type, | 158 void(attestation::AttestationKeyType key_type, |
| 159 const std::string& user_id, | 159 const std::string& user_id, |
| 160 const std::string& key_name, | 160 const std::string& key_name, |
| 161 const std::string& payload, | 161 const std::string& payload, |
| 162 const BoolDBusMethodCallback& callback)); | 162 const BoolDBusMethodCallback& callback)); |
| 163 MOCK_METHOD4(TpmAttestationDeleteKeys, | 163 MOCK_METHOD4(TpmAttestationDeleteKeys, |
| 164 void(attestation::AttestationKeyType key_type, | 164 void(attestation::AttestationKeyType key_type, |
| 165 const std::string& user_id, | 165 const std::string& user_id, |
| 166 const std::string& key_prefix, | 166 const std::string& key_prefix, |
| 167 const BoolDBusMethodCallback& callback)); | 167 const BoolDBusMethodCallback& callback)); |
| 168 MOCK_METHOD4(GetKeyDataEx, |
| 169 void(const cryptohome::AccountIdentifier& id, |
| 170 const cryptohome::AuthorizationRequest& auth, |
| 171 const cryptohome::GetKeyDataRequest& request, |
| 172 const ProtobufMethodCallback& callback)); |
| 168 MOCK_METHOD4(CheckKeyEx, | 173 MOCK_METHOD4(CheckKeyEx, |
| 169 void(const cryptohome::AccountIdentifier& id, | 174 void(const cryptohome::AccountIdentifier& id, |
| 170 const cryptohome::AuthorizationRequest& auth, | 175 const cryptohome::AuthorizationRequest& auth, |
| 171 const cryptohome::CheckKeyRequest& request, | 176 const cryptohome::CheckKeyRequest& request, |
| 172 const ProtobufMethodCallback& callback)); | 177 const ProtobufMethodCallback& callback)); |
| 173 MOCK_METHOD4(MountEx, | 178 MOCK_METHOD4(MountEx, |
| 174 void(const cryptohome::AccountIdentifier& id, | 179 void(const cryptohome::AccountIdentifier& id, |
| 175 const cryptohome::AuthorizationRequest& auth, | 180 const cryptohome::AuthorizationRequest& auth, |
| 176 const cryptohome::MountRequest& request, | 181 const cryptohome::MountRequest& request, |
| 177 const ProtobufMethodCallback& callback)); | 182 const ProtobufMethodCallback& callback)); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 198 const ProtobufMethodCallback& callback)); | 203 const ProtobufMethodCallback& callback)); |
| 199 MOCK_METHOD2( | 204 MOCK_METHOD2( |
| 200 FlushAndSignBootAttributes, | 205 FlushAndSignBootAttributes, |
| 201 void(const cryptohome::FlushAndSignBootAttributesRequest& request, | 206 void(const cryptohome::FlushAndSignBootAttributesRequest& request, |
| 202 const ProtobufMethodCallback& callback)); | 207 const ProtobufMethodCallback& callback)); |
| 203 }; | 208 }; |
| 204 | 209 |
| 205 } // namespace chromeos | 210 } // namespace chromeos |
| 206 | 211 |
| 207 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 212 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |