OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 const std::string& username, | 319 const std::string& username, |
320 const ScreenlockBridge::UserPodCustomIconOptions& icon) OVERRIDE; | 320 const ScreenlockBridge::UserPodCustomIconOptions& icon) OVERRIDE; |
321 virtual void HideUserPodCustomIcon(const std::string& username) OVERRIDE; | 321 virtual void HideUserPodCustomIcon(const std::string& username) OVERRIDE; |
322 virtual void EnableInput() OVERRIDE; | 322 virtual void EnableInput() OVERRIDE; |
323 virtual void SetAuthType(const std::string& username, | 323 virtual void SetAuthType(const std::string& username, |
324 ScreenlockBridge::LockHandler::AuthType auth_type, | 324 ScreenlockBridge::LockHandler::AuthType auth_type, |
325 const base::string16& initial_value) OVERRIDE; | 325 const base::string16& initial_value) OVERRIDE; |
326 virtual ScreenlockBridge::LockHandler::AuthType GetAuthType( | 326 virtual ScreenlockBridge::LockHandler::AuthType GetAuthType( |
327 const std::string& username) const OVERRIDE; | 327 const std::string& username) const OVERRIDE; |
328 virtual void Unlock(const std::string& user_email) OVERRIDE; | 328 virtual void Unlock(const std::string& user_email) OVERRIDE; |
| 329 virtual void AttemptEasySignin(const std::string& user_email, |
| 330 const std::string& secret, |
| 331 const std::string& key_label) OVERRIDE; |
329 | 332 |
330 // TouchViewControllerDelegate::Observer implementation: | 333 // TouchViewControllerDelegate::Observer implementation: |
331 virtual void OnMaximizeModeStarted() OVERRIDE; | 334 virtual void OnMaximizeModeStarted() OVERRIDE; |
332 virtual void OnMaximizeModeEnded() OVERRIDE; | 335 virtual void OnMaximizeModeEnded() OVERRIDE; |
333 | 336 |
334 // Updates authentication extension. Called when device settings that affect | 337 // Updates authentication extension. Called when device settings that affect |
335 // sign-in (allow BWSI and allow whitelist) are changed. | 338 // sign-in (allow BWSI and allow whitelist) are changed. |
336 void UserSettingsChanged(); | 339 void UserSettingsChanged(); |
337 void UpdateAddButtonStatus(); | 340 void UpdateAddButtonStatus(); |
338 | 341 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 bool is_enrolling_consumer_management_; | 505 bool is_enrolling_consumer_management_; |
503 | 506 |
504 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 507 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
505 | 508 |
506 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 509 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
507 }; | 510 }; |
508 | 511 |
509 } // namespace chromeos | 512 } // namespace chromeos |
510 | 513 |
511 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 514 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |