| 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 #ifndef COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ |
| 6 #define COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ | 6 #define COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 MOCK_METHOD0(GetDeviceClassifier, cryptauth::DeviceClassifier(void)); | 40 MOCK_METHOD0(GetDeviceClassifier, cryptauth::DeviceClassifier(void)); |
| 41 MOCK_METHOD0(GetAccountId, std::string(void)); | 41 MOCK_METHOD0(GetAccountId, std::string(void)); |
| 42 MOCK_METHOD0(GetCryptAuthEnrollmentManager, | 42 MOCK_METHOD0(GetCryptAuthEnrollmentManager, |
| 43 cryptauth::CryptAuthEnrollmentManager*(void)); | 43 cryptauth::CryptAuthEnrollmentManager*(void)); |
| 44 MOCK_METHOD0(GetCryptAuthDeviceManager, | 44 MOCK_METHOD0(GetCryptAuthDeviceManager, |
| 45 cryptauth::CryptAuthDeviceManager*(void)); | 45 cryptauth::CryptAuthDeviceManager*(void)); |
| 46 std::unique_ptr<cryptauth::SecureMessageDelegate> | 46 std::unique_ptr<cryptauth::SecureMessageDelegate> |
| 47 CreateSecureMessageDelegate() override; | 47 CreateSecureMessageDelegate() override; |
| 48 std::unique_ptr<cryptauth::CryptAuthClientFactory> | 48 std::unique_ptr<cryptauth::CryptAuthClientFactory> |
| 49 CreateCryptAuthClientFactory() override; | 49 CreateCryptAuthClientFactory() override; |
| 50 MOCK_METHOD0(GetLocalDevicePublicKey, std::string(void)); |
| 50 | 51 |
| 51 // Proxy mock methods because implementation requires returning scoped_ptr. | 52 // Proxy mock methods because implementation requires returning scoped_ptr. |
| 52 MOCK_METHOD0(CreateSecureMessageDelegatePtr, | 53 MOCK_METHOD0(CreateSecureMessageDelegatePtr, |
| 53 cryptauth::SecureMessageDelegate*(void)); | 54 cryptauth::SecureMessageDelegate*(void)); |
| 54 MOCK_METHOD0(CreateCryptAuthClientFactoryPtr, | 55 MOCK_METHOD0(CreateCryptAuthClientFactoryPtr, |
| 55 cryptauth::CryptAuthClientFactory*(void)); | 56 cryptauth::CryptAuthClientFactory*(void)); |
| 56 | 57 |
| 57 private: | 58 private: |
| 58 DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient); | 59 DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace proximity_auth | 62 } // namespace proximity_auth |
| 62 | 63 |
| 63 #endif // COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ | 64 #endif // COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ |
| OLD | NEW |