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

Side by Side Diff: chromeos/dbus/mock_cryptohome_client.h

Issue 506943002: Wire up GetKeyDataEx() in Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_1_367847_move_to_mount_ex
Patch Set: Added missing OVERRIDE. Created 6 years, 3 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 | « chromeos/dbus/fake_cryptohome_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698