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

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

Issue 1492043002: Introduced switches for Master/Slave bootstrapping process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the unused shark requisition. Created 5 years 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 <string> 9 #include <string>
10 10
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 // Called from SimpleGeolocationProvider when location is resolved. 305 // Called from SimpleGeolocationProvider when location is resolved.
306 void OnLocationResolved(const Geoposition& position, 306 void OnLocationResolved(const Geoposition& position,
307 bool server_error, 307 bool server_error,
308 const base::TimeDelta elapsed); 308 const base::TimeDelta elapsed);
309 309
310 // Returns true if callback has been installed. 310 // Returns true if callback has been installed.
311 // Returns false if timezone has already been resolved. 311 // Returns false if timezone has already been resolved.
312 bool SetOnTimeZoneResolvedForTesting(const base::Closure& callback); 312 bool SetOnTimeZoneResolvedForTesting(const base::Closure& callback);
313 313
314 // Returns true for pairing remora OOBE. 314 // Returns true for bootstrapping remora OOBE.
315 bool IsHostPairingOobe() const; 315 bool IsBootstrappingRemoraOobe() const;
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
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 BaseScreen* hid_screen_; 429 BaseScreen* hid_screen_;
430 430
431 base::WeakPtrFactory<WizardController> weak_factory_; 431 base::WeakPtrFactory<WizardController> weak_factory_;
432 432
433 DISALLOW_COPY_AND_ASSIGN(WizardController); 433 DISALLOW_COPY_AND_ASSIGN(WizardController);
434 }; 434 };
435 435
436 } // namespace chromeos 436 } // namespace chromeos
437 437
438 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 438 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698