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

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

Issue 2251503002: [Bootstrapping] Update the slave device's network connectivity status correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 321
322 // Starts listening for an incoming shark controller connection, if we are 322 // Starts listening for an incoming shark controller connection, if we are
323 // running remora OOBE. 323 // running remora OOBE.
324 void MaybeStartListeningForSharkConnection(); 324 void MaybeStartListeningForSharkConnection();
325 325
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 function for AddNetworkRequested(). 331 // Callback functions for AddNetworkRequested().
332 void OnSetHostNetworkSuccessful();
332 void OnSetHostNetworkFailed(); 333 void OnSetHostNetworkFailed();
333 334
334 // Start the enrollment screen using the config from 335 // Start the enrollment screen using the config from
335 // |prescribed_enrollment_config_|. 336 // |prescribed_enrollment_config_|.
336 void StartEnrollmentScreen(); 337 void StartEnrollmentScreen();
337 338
338 // 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
339 // (registration, Terms of Service, user image selection). 340 // (registration, Terms of Service, user image selection).
340 static bool skip_post_login_screens_; 341 static bool skip_post_login_screens_;
341 342
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 BaseScreen* hid_screen_ = nullptr; 443 BaseScreen* hid_screen_ = nullptr;
443 444
444 base::WeakPtrFactory<WizardController> weak_factory_; 445 base::WeakPtrFactory<WizardController> weak_factory_;
445 446
446 DISALLOW_COPY_AND_ASSIGN(WizardController); 447 DISALLOW_COPY_AND_ASSIGN(WizardController);
447 }; 448 };
448 449
449 } // namespace chromeos 450 } // namespace chromeos
450 451
451 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 452 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698