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

Side by Side Diff: chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.cc

Issue 14200033: [cros] Rename BaseLoginDisplayHost to LoginDisplayHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/managed/locally_managed_user_creation_fl ow.h" 5 #include "chrome/browser/chromeos/login/managed/locally_managed_user_creation_fl ow.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/chromeos/login/base_login_display_host.h" 9 #include "chrome/browser/chromeos/login/login_display_host_impl.h"
10 #include "chrome/browser/chromeos/login/managed/locally_managed_user_creation_sc reen.h" 10 #include "chrome/browser/chromeos/login/managed/locally_managed_user_creation_sc reen.h"
11 #include "chrome/browser/chromeos/login/wizard_controller.h" 11 #include "chrome/browser/chromeos/login/wizard_controller.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 namespace { 15 namespace {
16 16
17 LocallyManagedUserCreationScreen* GetScreen(LoginDisplayHost* host) { 17 LocallyManagedUserCreationScreen* GetScreen(LoginDisplayHost* host) {
18 DCHECK(host); 18 DCHECK(host);
19 DCHECK(host->GetWizardController()); 19 DCHECK(host->GetWizardController());
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 void LocallyManagedUserCreationFlow::LaunchExtraSteps( 74 void LocallyManagedUserCreationFlow::LaunchExtraSteps(
75 Profile* profile) { 75 Profile* profile) {
76 logged_in_ = true; 76 logged_in_ = true;
77 if (token_validated_ && logged_in_) 77 if (token_validated_ && logged_in_)
78 GetScreen(host())->OnManagerFullyAuthenticated(); 78 GetScreen(host())->OnManagerFullyAuthenticated();
79 else 79 else
80 GetScreen(host())->OnManagerCryptohomeAuthenticated(); 80 GetScreen(host())->OnManagerCryptohomeAuthenticated();
81 } 81 }
82 82
83 } // namespace chromeos 83 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698