OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EASY_UNLOCK_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 void AddObserver(EasyUnlockServiceObserver* observer); | 221 void AddObserver(EasyUnlockServiceObserver* observer); |
222 void RemoveObserver(EasyUnlockServiceObserver* observer); | 222 void RemoveObserver(EasyUnlockServiceObserver* observer); |
223 | 223 |
224 // ProximityAuthUIDelegate: | 224 // ProximityAuthUIDelegate: |
225 PrefService* GetPrefService() override; | 225 PrefService* GetPrefService() override; |
226 scoped_ptr<proximity_auth::SecureMessageDelegate> | 226 scoped_ptr<proximity_auth::SecureMessageDelegate> |
227 CreateSecureMessageDelegate() override; | 227 CreateSecureMessageDelegate() override; |
228 scoped_ptr<proximity_auth::CryptAuthClientFactory> | 228 scoped_ptr<proximity_auth::CryptAuthClientFactory> |
229 CreateCryptAuthClientFactory() override; | 229 CreateCryptAuthClientFactory() override; |
230 cryptauth::DeviceClassifier GetDeviceClassifier() override; | 230 cryptauth::DeviceClassifier GetDeviceClassifier() override; |
| 231 std::string GetAccountId() override; |
231 gcm::GCMDriver* GetGCMDriver() override; | 232 gcm::GCMDriver* GetGCMDriver() override; |
232 | 233 |
233 ChromeProximityAuthClient* proximity_auth_client() { | 234 ChromeProximityAuthClient* proximity_auth_client() { |
234 return &proximity_auth_client_; | 235 return &proximity_auth_client_; |
235 } | 236 } |
236 | 237 |
237 protected: | 238 protected: |
238 explicit EasyUnlockService(Profile* profile); | 239 explicit EasyUnlockService(Profile* profile); |
239 ~EasyUnlockService() override; | 240 ~EasyUnlockService() override; |
240 | 241 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 bool tpm_key_checked_; | 370 bool tpm_key_checked_; |
370 | 371 |
371 base::ObserverList<EasyUnlockServiceObserver> observers_; | 372 base::ObserverList<EasyUnlockServiceObserver> observers_; |
372 | 373 |
373 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; | 374 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; |
374 | 375 |
375 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); | 376 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); |
376 }; | 377 }; |
377 | 378 |
378 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ | 379 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ |
OLD | NEW |