Chromium Code Reviews| Index: chrome/browser/chromeos/login/enrollment/enrollment_screen.h |
| diff --git a/chrome/browser/chromeos/login/enrollment/enrollment_screen.h b/chrome/browser/chromeos/login/enrollment/enrollment_screen.h |
| index 48a7b8d5b3232f34af11f6d46594e8165ce64bb3..9fbc6e1b0228f73cbf77f3a98b3c52993ba6f9a6 100644 |
| --- a/chrome/browser/chromeos/login/enrollment/enrollment_screen.h |
| +++ b/chrome/browser/chromeos/login/enrollment/enrollment_screen.h |
| @@ -16,6 +16,10 @@ |
| #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
| #include "components/policy/core/common/cloud/enterprise_metrics.h" |
| +namespace pairing_chromeos { |
| +class ControllerPairingController; |
| +} |
| + |
| namespace chromeos { |
| class ScreenObserver; |
| @@ -30,10 +34,12 @@ class EnrollmentScreen |
| EnrollmentScreenActor* actor); |
| virtual ~EnrollmentScreen(); |
| - void SetParameters(EnrollmentScreenActor::EnrollmentMode enrollment_mode, |
| - const std::string& management_domain, |
| - const std::string& enrollment_user, |
| - const std::string& auth_token); |
| + void SetParameters( |
| + EnrollmentScreenActor::EnrollmentMode enrollment_mode, |
| + const std::string& management_domain, |
| + const std::string& enrollment_user, |
| + const std::string& auth_token, |
|
achuithb
2014/09/05 00:26:23
Maybe we should just pass in a callback instead:
b
Zachary Kuznia
2014/09/09 00:51:53
auth_token_ and the controller are actually mutual
|
| + pairing_chromeos::ControllerPairingController* remora_controller); |
| // WizardScreen implementation: |
| virtual void PrepareToShow() OVERRIDE; |
| @@ -95,6 +101,7 @@ class EnrollmentScreen |
| EnrollmentScreenActor* actor_; |
| EnrollmentScreenActor::EnrollmentMode enrollment_mode_; |
| bool enrollment_failed_once_; |
| + pairing_chromeos::ControllerPairingController* remora_controller_; |
|
achuithb
2014/09/05 00:26:23
Maybe move this up next to actor_?
Zachary Kuznia
2014/09/09 00:51:53
Done.
|
| bool remora_token_sent_; |
| std::string user_; |
| std::string auth_token_; |