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 #include "chromeos/attestation/mock_attestation_flow.h" | 5 #include "chromeos/attestation/mock_attestation_flow.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "components/signin/core/account_id/account_id.h" | 9 #include "components/signin/core/account_id/account_id.h" |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... | |
41 .WillByDefault(Invoke(&fake_, &FakeServerProxy::SendEnrollRequest)); | 41 .WillByDefault(Invoke(&fake_, &FakeServerProxy::SendEnrollRequest)); |
42 ON_CALL(*this, SendCertificateRequest(_, _)) | 42 ON_CALL(*this, SendCertificateRequest(_, _)) |
43 .WillByDefault(Invoke(&fake_, &FakeServerProxy::SendCertificateRequest)); | 43 .WillByDefault(Invoke(&fake_, &FakeServerProxy::SendCertificateRequest)); |
44 } | 44 } |
45 | 45 |
46 MockObserver::MockObserver() {} | 46 MockObserver::MockObserver() {} |
47 | 47 |
48 MockObserver::~MockObserver() {} | 48 MockObserver::~MockObserver() {} |
49 | 49 |
50 MockAttestationFlow::MockAttestationFlow() | 50 MockAttestationFlow::MockAttestationFlow() |
51 : AttestationFlow(NULL, NULL, std::unique_ptr<ServerProxy>()) {} | 51 : AttestationFlow(NULL, |
achuithb
2016/12/05 19:53:59
nullptr
| |
52 NULL, | |
53 std::unique_ptr<ServerProxy>(), | |
54 base::TimeDelta::Max()) {} | |
52 | 55 |
53 MockAttestationFlow::~MockAttestationFlow() {} | 56 MockAttestationFlow::~MockAttestationFlow() {} |
54 | 57 |
55 } // namespace attestation | 58 } // namespace attestation |
56 } // namespace chromeos | 59 } // namespace chromeos |
OLD | NEW |