| 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 CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ | 6 #define CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/proximity_auth/proximity_auth_client.h" | 9 #include "components/proximity_auth/proximity_auth_client.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 scoped_ptr<proximity_auth::CryptAuthClientFactory> | 29 scoped_ptr<proximity_auth::CryptAuthClientFactory> |
| 30 CreateCryptAuthClientFactory() override; | 30 CreateCryptAuthClientFactory() override; |
| 31 cryptauth::DeviceClassifier GetDeviceClassifier() override; | 31 cryptauth::DeviceClassifier GetDeviceClassifier() override; |
| 32 std::string GetAccountId() override; | 32 std::string GetAccountId() override; |
| 33 proximity_auth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager() | 33 proximity_auth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager() |
| 34 override; | 34 override; |
| 35 proximity_auth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override; | 35 proximity_auth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override; |
| 36 void FinalizeSignin(const std::string& secret) override; | 36 void FinalizeSignin(const std::string& secret) override; |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 // Returns the EasyUnlockService instance used inside user sessions. |
| 40 EasyUnlockServiceRegular* GetEasyUnlockServiceRegular(); |
| 41 |
| 39 Profile* const profile_; | 42 Profile* const profile_; |
| 40 | 43 |
| 41 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient); | 44 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient); |
| 42 }; | 45 }; |
| 43 | 46 |
| 44 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ | 47 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ |
| OLD | NEW |