| 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 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen.h" | 5 #include "chrome/browser/chromeos/login/screens/controller_pairing_screen.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "chrome/browser/chromeos/login/wizard_controller.h" | 9 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 10 #include "chromeos/chromeos_switches.h" | 10 #include "chromeos/chromeos_switches.h" |
| 11 #include "chromeos/login/auth/user_context.h" | 11 #include "chromeos/login/auth/user_context.h" |
| 12 #include "chromeos/pairing/fake_controller_pairing_controller.h" | 12 #include "components/pairing/fake_controller_pairing_controller.h" |
| 13 #include "google_apis/gaia/gaia_auth_util.h" | 13 #include "google_apis/gaia/gaia_auth_util.h" |
| 14 | 14 |
| 15 using namespace chromeos::controller_pairing; | 15 using namespace chromeos::controller_pairing; |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 | 18 |
| 19 ControllerPairingScreen::ControllerPairingScreen( | 19 ControllerPairingScreen::ControllerPairingScreen( |
| 20 ScreenObserver* observer, | 20 ScreenObserver* observer, |
| 21 ControllerPairingScreenActor* actor) | 21 ControllerPairingScreenActor* actor) |
| 22 : WizardScreen(observer), | 22 : WizardScreen(observer), |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 ++key) { | 219 ++key) { |
| 220 if (*key == kContextKeySelectedDevice) { | 220 if (*key == kContextKeySelectedDevice) { |
| 221 context_.SetBoolean(kContextKeyControlsDisabled, | 221 context_.SetBoolean(kContextKeyControlsDisabled, |
| 222 context_.GetString(*key).empty()); | 222 context_.GetString(*key).empty()); |
| 223 CommitContextChanges(); | 223 CommitContextChanges(); |
| 224 } | 224 } |
| 225 } | 225 } |
| 226 } | 226 } |
| 227 | 227 |
| 228 } // namespace chromeos | 228 } // namespace chromeos |
| OLD | NEW |