| OLD | NEW |
| 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" | |
| 11 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 namespace attestation { | 15 namespace attestation { |
| 16 | 16 |
| 17 // A fake server proxy which just appends "_response" to every request. | 17 // A fake server proxy which just appends "_response" to every request. |
| 18 class FakeServerProxy : public ServerProxy { | 18 class FakeServerProxy : public ServerProxy { |
| 19 public: | 19 public: |
| 20 FakeServerProxy(); | 20 FakeServerProxy(); |
| 21 ~FakeServerProxy() override; | 21 ~FakeServerProxy() override; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 const std::string&, | 70 const std::string&, |
| 71 const std::string&, | 71 const std::string&, |
| 72 bool, | 72 bool, |
| 73 const CertificateCallback&)); | 73 const CertificateCallback&)); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace attestation | 76 } // namespace attestation |
| 77 } // namespace chromeos | 77 } // namespace chromeos |
| 78 | 78 |
| 79 #endif // CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_ | 79 #endif // CHROMEOS_ATTESTATION_MOCK_ATTESTATION_FLOW_H_ |
| OLD | NEW |