Index: chrome/browser/chromeos/login/screens/host_pairing_screen.h |
diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen.h b/chrome/browser/chromeos/login/screens/host_pairing_screen.h |
index 7a5229fb64a004ccca44dfa876c86759b249bd10..c69f5f8b38b82aecbc9c586f4b1a15c64935058e 100644 |
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen.h |
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen.h |
@@ -18,7 +18,8 @@ class HostPairingScreen : |
public pairing_chromeos::HostPairingController::Observer, |
public HostPairingScreenActor::Delegate { |
public: |
- HostPairingScreen(ScreenObserver* observer, HostPairingScreenActor* actor); |
+ HostPairingScreen(ScreenObserver* observer, HostPairingScreenActor* actor, |
+ pairing_chromeos::HostPairingController* controller); |
virtual ~HostPairingScreen(); |
private: |
@@ -50,9 +51,8 @@ class HostPairingScreen : |
HostPairingScreenActor* actor_; |
- // Controller performing pairing. Owned by the screen for now. |
- // TODO(dzhioev): move to proper place later. |
- scoped_ptr<pairing_chromeos::HostPairingController> controller_; |
+ // Controller performing pairing. Owned by the wizard controller. |
+ pairing_chromeos::HostPairingController* controller_; |
// Current stage of pairing process. |
Stage current_stage_; |