| 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_PROXIMITY_AUTH_CLIENT_H_ | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_CLIENT_H_ |
| 6 #define COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_CLIENT_H_ | 6 #define COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // API requests. | 72 // API requests. |
| 73 virtual cryptauth::DeviceClassifier GetDeviceClassifier() = 0; | 73 virtual cryptauth::DeviceClassifier GetDeviceClassifier() = 0; |
| 74 | 74 |
| 75 // Returns the account id of the user. | 75 // Returns the account id of the user. |
| 76 virtual std::string GetAccountId() = 0; | 76 virtual std::string GetAccountId() = 0; |
| 77 | 77 |
| 78 virtual cryptauth::CryptAuthEnrollmentManager* | 78 virtual cryptauth::CryptAuthEnrollmentManager* |
| 79 GetCryptAuthEnrollmentManager() = 0; | 79 GetCryptAuthEnrollmentManager() = 0; |
| 80 | 80 |
| 81 virtual cryptauth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() = 0; | 81 virtual cryptauth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() = 0; |
| 82 |
| 83 virtual std::string GetLocalDevicePublicKey() = 0; |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace proximity_auth | 86 } // namespace proximity_auth |
| 85 | 87 |
| 86 #endif // COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_CLIENT_H_ | 88 #endif // COMPONENTS_PROXIMITY_AUTH_PROXIMITY_AUTH_CLIENT_H_ |
| OLD | NEW |