| 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" |
| 11 #include "base/macros.h" |
| 11 #include "components/proximity_auth/cryptauth/cryptauth_client.h" | 12 #include "components/proximity_auth/cryptauth/cryptauth_client.h" |
| 12 #include "components/proximity_auth/cryptauth/cryptauth_device_manager.h" | 13 #include "components/proximity_auth/cryptauth/cryptauth_device_manager.h" |
| 13 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_manager.h" | 14 #include "components/proximity_auth/cryptauth/cryptauth_enrollment_manager.h" |
| 14 #include "components/proximity_auth/cryptauth/secure_message_delegate.h" | 15 #include "components/proximity_auth/cryptauth/secure_message_delegate.h" |
| 15 #include "components/proximity_auth/proximity_auth_client.h" | 16 #include "components/proximity_auth/proximity_auth_client.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| 17 | 18 |
| 18 namespace proximity_auth { | 19 namespace proximity_auth { |
| 19 | 20 |
| 20 // Mock implementation of ProximityAuthClient. | 21 // Mock implementation of ProximityAuthClient. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 MOCK_METHOD0(CreateSecureMessageDelegatePtr, SecureMessageDelegate*(void)); | 49 MOCK_METHOD0(CreateSecureMessageDelegatePtr, SecureMessageDelegate*(void)); |
| 49 MOCK_METHOD0(CreateCryptAuthClientFactoryPtr, CryptAuthClientFactory*(void)); | 50 MOCK_METHOD0(CreateCryptAuthClientFactoryPtr, CryptAuthClientFactory*(void)); |
| 50 | 51 |
| 51 private: | 52 private: |
| 52 DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient); | 53 DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient); |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 } // namespace proximity_auth | 56 } // namespace proximity_auth |
| 56 | 57 |
| 57 #endif // COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ | 58 #endif // COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ |
| OLD | NEW |