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

Side by Side Diff: chrome/browser/chromeos/login/screens/controller_pairing_screen.cc

Issue 378513005: [Athena] Extract Chrome OS authentication stack (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes in one more test Created 6 years, 5 months 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 | Annotate | Revision Log
OLDNEW
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/auth/user_context.h"
10 #include "chrome/browser/chromeos/login/wizard_controller.h" 9 #include "chrome/browser/chromeos/login/wizard_controller.h"
11 #include "chromeos/chromeos_switches.h" 10 #include "chromeos/chromeos_switches.h"
11 #include "chromeos/login/auth/user_context.h"
12 #include "chromeos/pairing/fake_controller_pairing_controller.h" 12 #include "chromeos/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)
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698