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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 // Network state informer used to keep signin screen up. | 436 // Network state informer used to keep signin screen up. |
437 scoped_refptr<NetworkStateInformer> network_state_informer_; | 437 scoped_refptr<NetworkStateInformer> network_state_informer_; |
438 | 438 |
439 // Set to true once |LOGIN_WEBUI_VISIBLE| notification is observed. | 439 // Set to true once |LOGIN_WEBUI_VISIBLE| notification is observed. |
440 bool webui_visible_ = false; | 440 bool webui_visible_ = false; |
441 bool preferences_changed_delayed_ = false; | 441 bool preferences_changed_delayed_ = false; |
442 | 442 |
443 NetworkErrorModel* network_error_model_; | 443 NetworkErrorModel* network_error_model_; |
444 CoreOobeActor* core_oobe_actor_; | 444 CoreOobeActor* core_oobe_actor_; |
445 | 445 |
446 bool is_first_update_state_call_ = false; | |
447 bool offline_login_active_ = false; | 446 bool offline_login_active_ = false; |
448 NetworkStateInformer::State last_network_state_ = | 447 NetworkStateInformer::State last_network_state_ = |
449 NetworkStateInformer::UNKNOWN; | 448 NetworkStateInformer::UNKNOWN; |
450 | 449 |
451 base::CancelableClosure update_state_closure_; | 450 base::CancelableClosure update_state_closure_; |
452 base::CancelableClosure connecting_closure_; | 451 base::CancelableClosure connecting_closure_; |
453 | 452 |
454 content::NotificationRegistrar registrar_; | 453 content::NotificationRegistrar registrar_; |
455 | 454 |
456 // Whether there is an auth UI pending. This flag is set on receiving | 455 // Whether there is an auth UI pending. This flag is set on receiving |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 487 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
489 | 488 |
490 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 489 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
491 | 490 |
492 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 491 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
493 }; | 492 }; |
494 | 493 |
495 } // namespace chromeos | 494 } // namespace chromeos |
496 | 495 |
497 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 496 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |