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

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

Issue 20873002: Added support for the content protection profile to AttestationFlow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 4 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/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_client.h" 10 #include "chromeos/dbus/cryptohome_client.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 MOCK_METHOD1(InstallAttributesIsFirstInstall, bool(bool* is_first_install)); 85 MOCK_METHOD1(InstallAttributesIsFirstInstall, bool(bool* is_first_install));
86 MOCK_METHOD1(TpmAttestationIsPrepared, 86 MOCK_METHOD1(TpmAttestationIsPrepared,
87 void(const BoolDBusMethodCallback& callback)); 87 void(const BoolDBusMethodCallback& callback));
88 MOCK_METHOD1(TpmAttestationIsEnrolled, 88 MOCK_METHOD1(TpmAttestationIsEnrolled,
89 void(const BoolDBusMethodCallback& callback)); 89 void(const BoolDBusMethodCallback& callback));
90 MOCK_METHOD1(AsyncTpmAttestationCreateEnrollRequest, 90 MOCK_METHOD1(AsyncTpmAttestationCreateEnrollRequest,
91 void(const AsyncMethodCallback& callback)); 91 void(const AsyncMethodCallback& callback));
92 MOCK_METHOD2(AsyncTpmAttestationEnroll, 92 MOCK_METHOD2(AsyncTpmAttestationEnroll,
93 void(const std::string& pca_response, 93 void(const std::string& pca_response,
94 const AsyncMethodCallback& callback)); 94 const AsyncMethodCallback& callback));
95 MOCK_METHOD2(AsyncTpmAttestationCreateCertRequest, 95 MOCK_METHOD4(
96 void(int options, 96 AsyncTpmAttestationCreateCertRequest,
97 const AsyncMethodCallback& callback)); 97 void(attestation::AttestationCertificateProfile certificate_profile,
98 const std::string& user_email,
99 const std::string& request_origin,
100 const AsyncMethodCallback& callback));
98 MOCK_METHOD4(AsyncTpmAttestationFinishCertRequest, 101 MOCK_METHOD4(AsyncTpmAttestationFinishCertRequest,
99 void(const std::string& pca_response, 102 void(const std::string& pca_response,
100 attestation::AttestationKeyType key_type, 103 attestation::AttestationKeyType key_type,
101 const std::string& key_name, 104 const std::string& key_name,
102 const AsyncMethodCallback& callback)); 105 const AsyncMethodCallback& callback));
103 MOCK_METHOD3(TpmAttestationDoesKeyExist, 106 MOCK_METHOD3(TpmAttestationDoesKeyExist,
104 void(attestation::AttestationKeyType key_type, 107 void(attestation::AttestationKeyType key_type,
105 const std::string& key_name, 108 const std::string& key_name,
106 const BoolDBusMethodCallback& callback)); 109 const BoolDBusMethodCallback& callback));
107 MOCK_METHOD3(TpmAttestationGetCertificate, 110 MOCK_METHOD3(TpmAttestationGetCertificate,
(...skipping 28 matching lines...) Expand all
136 MOCK_METHOD4(TpmAttestationSetKeyPayload, 139 MOCK_METHOD4(TpmAttestationSetKeyPayload,
137 void(attestation::AttestationKeyType key_type, 140 void(attestation::AttestationKeyType key_type,
138 const std::string& key_name, 141 const std::string& key_name,
139 const std::string& payload, 142 const std::string& payload,
140 const BoolDBusMethodCallback& callback)); 143 const BoolDBusMethodCallback& callback));
141 }; 144 };
142 145
143 } // namespace chromeos 146 } // namespace chromeos
144 147
145 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ 148 #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