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

Side by Side Diff: chromeos/dbus/cryptohome_client_stub.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/cryptohome_client.cc ('k') | chromeos/dbus/cryptohome_client_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CRYPTOHOME_CLIENT_STUB_H_ 5 #ifndef CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_
6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ 6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void TpmAttestationIsPrepared( 83 virtual void TpmAttestationIsPrepared(
84 const BoolDBusMethodCallback& callback) OVERRIDE; 84 const BoolDBusMethodCallback& callback) OVERRIDE;
85 virtual void TpmAttestationIsEnrolled( 85 virtual void TpmAttestationIsEnrolled(
86 const BoolDBusMethodCallback& callback) OVERRIDE; 86 const BoolDBusMethodCallback& callback) OVERRIDE;
87 virtual void AsyncTpmAttestationCreateEnrollRequest( 87 virtual void AsyncTpmAttestationCreateEnrollRequest(
88 const AsyncMethodCallback& callback) OVERRIDE; 88 const AsyncMethodCallback& callback) OVERRIDE;
89 virtual void AsyncTpmAttestationEnroll( 89 virtual void AsyncTpmAttestationEnroll(
90 const std::string& pca_response, 90 const std::string& pca_response,
91 const AsyncMethodCallback& callback) OVERRIDE; 91 const AsyncMethodCallback& callback) OVERRIDE;
92 virtual void AsyncTpmAttestationCreateCertRequest( 92 virtual void AsyncTpmAttestationCreateCertRequest(
93 int options, 93 attestation::AttestationCertificateProfile certificate_profile,
94 const std::string& user_email,
95 const std::string& request_origin,
94 const AsyncMethodCallback& callback) OVERRIDE; 96 const AsyncMethodCallback& callback) OVERRIDE;
95 virtual void AsyncTpmAttestationFinishCertRequest( 97 virtual void AsyncTpmAttestationFinishCertRequest(
96 const std::string& pca_response, 98 const std::string& pca_response,
97 attestation::AttestationKeyType key_type, 99 attestation::AttestationKeyType key_type,
98 const std::string& key_name, 100 const std::string& key_name,
99 const AsyncMethodCallback& callback) OVERRIDE; 101 const AsyncMethodCallback& callback) OVERRIDE;
100 virtual void TpmAttestationDoesKeyExist( 102 virtual void TpmAttestationDoesKeyExist(
101 attestation::AttestationKeyType key_type, 103 attestation::AttestationKeyType key_type,
102 const std::string& key_name, 104 const std::string& key_name,
103 const BoolDBusMethodCallback& callback) OVERRIDE; 105 const BoolDBusMethodCallback& callback) OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 std::map<std::string, std::vector<uint8> > install_attrs_; 157 std::map<std::string, std::vector<uint8> > install_attrs_;
156 bool locked_; 158 bool locked_;
157 base::WeakPtrFactory<CryptohomeClientStubImpl> weak_ptr_factory_; 159 base::WeakPtrFactory<CryptohomeClientStubImpl> weak_ptr_factory_;
158 160
159 DISALLOW_COPY_AND_ASSIGN(CryptohomeClientStubImpl); 161 DISALLOW_COPY_AND_ASSIGN(CryptohomeClientStubImpl);
160 }; 162 };
161 163
162 } // namespace chromeos 164 } // namespace chromeos
163 165
164 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_ 166 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_STUB_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/cryptohome_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698