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

Side by Side Diff: chrome/browser/chromeos/login/app_launch_signin_screen.h

Issue 592893002: Rename ScreelockBridge to SigninScreenBridge Base URL: https://chromium.googlesource.com/chromium/src.git@easy_signin_auth_handler
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/app_launch_signin_screen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LAUNCH_SIGNIN_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/signin/screenlock_bridge.h" 11 #include "chrome/browser/signin/signin_screen_bridge.h"
12 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 12 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
13 #include "chromeos/login/auth/auth_status_consumer.h" 13 #include "chromeos/login/auth/auth_status_consumer.h"
14 #include "chromeos/login/auth/authenticator.h" 14 #include "chromeos/login/auth/authenticator.h"
15 #include "components/user_manager/user.h" 15 #include "components/user_manager/user.h"
16 #include "components/user_manager/user_manager.h" 16 #include "components/user_manager/user_manager.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 19
20 class OobeUI; 20 class OobeUI;
21 21
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual const user_manager::UserList& GetUsers() const OVERRIDE; 73 virtual const user_manager::UserList& GetUsers() const OVERRIDE;
74 virtual bool IsShowGuest() const OVERRIDE; 74 virtual bool IsShowGuest() const OVERRIDE;
75 virtual bool IsShowUsers() const OVERRIDE; 75 virtual bool IsShowUsers() const OVERRIDE;
76 virtual bool IsSigninInProgress() const OVERRIDE; 76 virtual bool IsSigninInProgress() const OVERRIDE;
77 virtual bool IsUserSigninCompleted() const OVERRIDE; 77 virtual bool IsUserSigninCompleted() const OVERRIDE;
78 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; 78 virtual void SetDisplayEmail(const std::string& email) OVERRIDE;
79 virtual void Signout() OVERRIDE; 79 virtual void Signout() OVERRIDE;
80 virtual void HandleGetUsers() OVERRIDE; 80 virtual void HandleGetUsers() OVERRIDE;
81 virtual void SetAuthType( 81 virtual void SetAuthType(
82 const std::string& username, 82 const std::string& username,
83 ScreenlockBridge::LockHandler::AuthType auth_type) OVERRIDE; 83 SigninScreenBridge::LockHandler::AuthType auth_type) OVERRIDE;
84 virtual ScreenlockBridge::LockHandler::AuthType GetAuthType( 84 virtual SigninScreenBridge::LockHandler::AuthType GetAuthType(
85 const std::string& username) const OVERRIDE; 85 const std::string& username) const OVERRIDE;
86 86
87 // AuthStatusConsumer implementation: 87 // AuthStatusConsumer implementation:
88 virtual void OnAuthFailure(const AuthFailure& error) OVERRIDE; 88 virtual void OnAuthFailure(const AuthFailure& error) OVERRIDE;
89 virtual void OnAuthSuccess(const UserContext& user_context) OVERRIDE; 89 virtual void OnAuthSuccess(const UserContext& user_context) OVERRIDE;
90 90
91 OobeUI* oobe_ui_; 91 OobeUI* oobe_ui_;
92 Delegate* delegate_; 92 Delegate* delegate_;
93 LoginDisplayWebUIHandler* webui_handler_; 93 LoginDisplayWebUIHandler* webui_handler_;
94 scoped_refptr<Authenticator> authenticator_; 94 scoped_refptr<Authenticator> authenticator_;
95 95
96 // This list should have at most one user, and that user should be the owner. 96 // This list should have at most one user, and that user should be the owner.
97 user_manager::UserList owner_user_list_; 97 user_manager::UserList owner_user_list_;
98 98
99 static user_manager::UserManager* test_user_manager_; 99 static user_manager::UserManager* test_user_manager_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen); 101 DISALLOW_COPY_AND_ASSIGN(AppLaunchSigninScreen);
102 }; 102 };
103 103
104 } // namespace chromeos 104 } // namespace chromeos
105 105
106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_APP_LAUNCH_SIGNIN_SCREEN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/app_launch_signin_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698