| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 | 316 |
| 317 // Starts listening for an incoming shark controller connection, if we are | 317 // Starts listening for an incoming shark controller connection, if we are |
| 318 // running remora OOBE. | 318 // running remora OOBE. |
| 319 void MaybeStartListeningForSharkConnection(); | 319 void MaybeStartListeningForSharkConnection(); |
| 320 | 320 |
| 321 // Called when a connection to controller has been established. Wizard | 321 // Called when a connection to controller has been established. Wizard |
| 322 // controller takes the ownership of |pairing_controller| after that call. | 322 // controller takes the ownership of |pairing_controller| after that call. |
| 323 void OnSharkConnected( | 323 void OnSharkConnected( |
| 324 scoped_ptr<pairing_chromeos::HostPairingController> pairing_controller); | 324 scoped_ptr<pairing_chromeos::HostPairingController> pairing_controller); |
| 325 | 325 |
| 326 // Callback function for AddNetworkRequested(). |
| 327 void OnSetHostNetworkFailed(); |
| 328 |
| 326 // Start the enrollment screen using the config from | 329 // Start the enrollment screen using the config from |
| 327 // |prescribed_enrollment_config_|. | 330 // |prescribed_enrollment_config_|. |
| 328 void StartEnrollmentScreen(); | 331 void StartEnrollmentScreen(); |
| 329 | 332 |
| 330 // Whether to skip any screens that may normally be shown after login | 333 // Whether to skip any screens that may normally be shown after login |
| 331 // (registration, Terms of Service, user image selection). | 334 // (registration, Terms of Service, user image selection). |
| 332 static bool skip_post_login_screens_; | 335 static bool skip_post_login_screens_; |
| 333 | 336 |
| 334 static bool zero_delay_enabled_; | 337 static bool zero_delay_enabled_; |
| 335 | 338 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 BaseScreen* hid_screen_; | 432 BaseScreen* hid_screen_; |
| 430 | 433 |
| 431 base::WeakPtrFactory<WizardController> weak_factory_; | 434 base::WeakPtrFactory<WizardController> weak_factory_; |
| 432 | 435 |
| 433 DISALLOW_COPY_AND_ASSIGN(WizardController); | 436 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 434 }; | 437 }; |
| 435 | 438 |
| 436 } // namespace chromeos | 439 } // namespace chromeos |
| 437 | 440 |
| 438 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 441 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |