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

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

Issue 13818032: Added dbus bindings for new cryptohomed attestation APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/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_client.h" 10 #include "chromeos/dbus/cryptohome_client.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const std::string& domain, 113 const std::string& domain,
114 const std::string& device_id, 114 const std::string& device_id,
115 AttestationChallengeOptions options, 115 AttestationChallengeOptions options,
116 const std::string& challenge, 116 const std::string& challenge,
117 const AsyncMethodCallback& callback)); 117 const AsyncMethodCallback& callback));
118 MOCK_METHOD4(TpmAttestationSignSimpleChallenge, 118 MOCK_METHOD4(TpmAttestationSignSimpleChallenge,
119 void(AttestationKeyType key_type, 119 void(AttestationKeyType key_type,
120 const std::string& key_name, 120 const std::string& key_name,
121 const std::string& challenge, 121 const std::string& challenge,
122 const AsyncMethodCallback& callback)); 122 const AsyncMethodCallback& callback));
123 MOCK_METHOD3(TpmAttestationGetKeyPayload,
124 void(AttestationKeyType key_type,
125 const std::string& key_name,
126 const DataMethodCallback& callback));
127 MOCK_METHOD4(TpmAttestationSetKeyPayload,
128 void(AttestationKeyType key_type,
129 const std::string& key_name,
130 const std::string& payload,
131 const BoolDBusMethodCallback& callback));
123 }; 132 };
124 133
125 } // namespace chromeos 134 } // namespace chromeos
126 135
127 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ 136 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698