Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.h

Issue 2186623002: Minimal attestation-based enrollment flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made ZTE independent of enterprise enrollment. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 // Called when a connection to controller has been established. Wizard 326 // Called when a connection to controller has been established. Wizard
327 // controller takes the ownership of |pairing_controller| after that call. 327 // controller takes the ownership of |pairing_controller| after that call.
328 void OnSharkConnected(std::unique_ptr<pairing_chromeos::HostPairingController> 328 void OnSharkConnected(std::unique_ptr<pairing_chromeos::HostPairingController>
329 pairing_controller); 329 pairing_controller);
330 330
331 // Callback functions for AddNetworkRequested(). 331 // Callback functions for AddNetworkRequested().
332 void OnSetHostNetworkSuccessful(); 332 void OnSetHostNetworkSuccessful();
333 void OnSetHostNetworkFailed(); 333 void OnSetHostNetworkFailed();
334 334
335 // Start the enrollment screen using the config from 335 // Start the enrollment screen using the config from
336 // |prescribed_enrollment_config_|. 336 // |prescribed_enrollment_config_|.
pastarmovj 2016/08/19 10:29:18 Please document the new flag.
The one and only Dr. Crash 2016/08/19 17:49:29 Done.
337 void StartEnrollmentScreen(); 337 void StartEnrollmentScreen(bool force_interactive);
338 338
339 // Whether to skip any screens that may normally be shown after login 339 // Whether to skip any screens that may normally be shown after login
340 // (registration, Terms of Service, user image selection). 340 // (registration, Terms of Service, user image selection).
341 static bool skip_post_login_screens_; 341 static bool skip_post_login_screens_;
342 342
343 static bool zero_delay_enabled_; 343 static bool zero_delay_enabled_;
344 344
345 // Screen that's currently active. 345 // Screen that's currently active.
346 BaseScreen* current_screen_ = nullptr; 346 BaseScreen* current_screen_ = nullptr;
347 347
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 BaseScreen* hid_screen_ = nullptr; 443 BaseScreen* hid_screen_ = nullptr;
444 444
445 base::WeakPtrFactory<WizardController> weak_factory_; 445 base::WeakPtrFactory<WizardController> weak_factory_;
446 446
447 DISALLOW_COPY_AND_ASSIGN(WizardController); 447 DISALLOW_COPY_AND_ASSIGN(WizardController);
448 }; 448 };
449 449
450 } // namespace chromeos 450 } // namespace chromeos
451 451
452 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 452 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698