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

Side by Side Diff: chromeos/attestation/mock_attestation_flow.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
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_ATTESTATION_MOCK_ATTESTATION_FLOW_H_ 5 #ifndef CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_
6 #define CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_ 6 #define CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_
7 7
8 #include "chromeos/attestation/attestation_flow.h" 8 #include "chromeos/attestation/attestation_flow.h"
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual ~MockObserver(); 58 virtual ~MockObserver();
59 59
60 MOCK_METHOD2(MockCertificateCallback, void(bool, const std::string&)); 60 MOCK_METHOD2(MockCertificateCallback, void(bool, const std::string&));
61 }; 61 };
62 62
63 class MockAttestationFlow : public AttestationFlow { 63 class MockAttestationFlow : public AttestationFlow {
64 public: 64 public:
65 MockAttestationFlow(); 65 MockAttestationFlow();
66 virtual ~MockAttestationFlow(); 66 virtual ~MockAttestationFlow();
67 67
68 MOCK_METHOD3(GetCertificate, void(AttestationCertificateProfile, 68 MOCK_METHOD5(GetCertificate, void(AttestationCertificateProfile,
69 const std::string&,
70 const std::string&,
69 bool, 71 bool,
70 const CertificateCallback&)); 72 const CertificateCallback&));
71 }; 73 };
72 74
73 } // namespace attestation 75 } // namespace attestation
74 } // namespace chromeos 76 } // namespace chromeos
75 77
76 #endif // CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_ 78 #endif // CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_
OLDNEW
« no previous file with comments | « chromeos/attestation/attestation_flow_unittest.cc ('k') | chromeos/cryptohome/async_method_caller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698