| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/proximity_auth/mock_proximity_auth_client.h" | 5 #include "components/proximity_auth/mock_proximity_auth_client.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 | 8 |
| 9 namespace proximity_auth { | 9 namespace proximity_auth { |
| 10 | 10 |
| 11 MockProximityAuthClient::MockProximityAuthClient() {} | 11 MockProximityAuthClient::MockProximityAuthClient() {} |
| 12 | 12 |
| 13 MockProximityAuthClient::~MockProximityAuthClient() {} | 13 MockProximityAuthClient::~MockProximityAuthClient() {} |
| 14 | 14 |
| 15 std::unique_ptr<SecureMessageDelegate> | 15 std::unique_ptr<cryptauth::SecureMessageDelegate> |
| 16 MockProximityAuthClient::CreateSecureMessageDelegate() { | 16 MockProximityAuthClient::CreateSecureMessageDelegate() { |
| 17 return base::WrapUnique(CreateSecureMessageDelegatePtr()); | 17 return base::WrapUnique(CreateSecureMessageDelegatePtr()); |
| 18 } | 18 } |
| 19 | 19 |
| 20 std::unique_ptr<CryptAuthClientFactory> | 20 std::unique_ptr<cryptauth::CryptAuthClientFactory> |
| 21 MockProximityAuthClient::CreateCryptAuthClientFactory() { | 21 MockProximityAuthClient::CreateCryptAuthClientFactory() { |
| 22 return base::WrapUnique(CreateCryptAuthClientFactoryPtr()); | 22 return base::WrapUnique(CreateCryptAuthClientFactoryPtr()); |
| 23 } | 23 } |
| 24 | 24 |
| 25 } // proximity_auth | 25 } // proximity_auth |
| OLD | NEW |