Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SCREENS_HOST_PAIRING_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h" | 9 #include "chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h" |
| 10 #include "chrome/browser/chromeos/login/screens/screen_context.h" | 10 #include "chrome/browser/chromeos/login/screens/screen_context.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 virtual void OnActorDestroyed(HostPairingScreenActor* actor) OVERRIDE; | 46 virtual void OnActorDestroyed(HostPairingScreenActor* actor) OVERRIDE; |
| 47 | 47 |
| 48 // Context for sharing data between C++ and JS. | 48 // Context for sharing data between C++ and JS. |
| 49 // TODO(dzhioev): move to BaseScreen when possible. | 49 // TODO(dzhioev): move to BaseScreen when possible. |
| 50 ScreenContext context_; | 50 ScreenContext context_; |
| 51 | 51 |
| 52 HostPairingScreenActor* actor_; | 52 HostPairingScreenActor* actor_; |
| 53 | 53 |
| 54 // Controller performing pairing. Owned by the wizard controller. | 54 // Controller performing pairing. Owned by the wizard controller. |
| 55 pairing_chromeos::HostPairingController* controller_; | 55 pairing_chromeos::HostPairingController* controller_; |
| 56 bool observing_controller_; | |
|
achuithb
2014/09/09 09:02:03
ditto - let's get rid of this.
Zachary Kuznia
2014/09/09 23:53:58
Done.
| |
| 56 | 57 |
| 57 // Current stage of pairing process. | 58 // Current stage of pairing process. |
| 58 Stage current_stage_; | 59 Stage current_stage_; |
| 59 | 60 |
| 60 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); | 61 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace chromeos | 64 } // namespace chromeos |
| 64 | 65 |
| 65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ | 66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ |
| OLD | NEW |