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

Side by Side Diff: chromeos/login/auth/login_performer.h

Issue 2498613003: Add ARC++ kiosk menu items and ability to start kiosk session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month 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 | « chromeos/login/auth/cryptohome_authenticator.cc ('k') | chromeos/login/auth/login_performer.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 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 #ifndef CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_
6 #define CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ 6 #define CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Performs actions to prepare guest mode login. 76 // Performs actions to prepare guest mode login.
77 void LoginOffTheRecord(); 77 void LoginOffTheRecord();
78 78
79 // Performs public session login with a given |user_context|. 79 // Performs public session login with a given |user_context|.
80 void LoginAsPublicSession(const UserContext& user_context); 80 void LoginAsPublicSession(const UserContext& user_context);
81 81
82 // Performs a login into the kiosk mode account with |app_account_id|. 82 // Performs a login into the kiosk mode account with |app_account_id|.
83 void LoginAsKioskAccount(const AccountId& app_account_id, 83 void LoginAsKioskAccount(const AccountId& app_account_id,
84 bool use_guest_mount); 84 bool use_guest_mount);
85 85
86 // Performs a login into the ARC kiosk mode account with |arc_app_account_id|.
87 void LoginAsArcKioskAccount(const AccountId& arc_app_account_id);
88
86 // AuthStatusConsumer implementation: 89 // AuthStatusConsumer implementation:
87 void OnAuthFailure(const AuthFailure& error) override; 90 void OnAuthFailure(const AuthFailure& error) override;
88 void OnAuthSuccess(const UserContext& user_context) override; 91 void OnAuthSuccess(const UserContext& user_context) override;
89 void OnOffTheRecordAuthSuccess() override; 92 void OnOffTheRecordAuthSuccess() override;
90 void OnPasswordChangeDetected() override; 93 void OnPasswordChangeDetected() override;
91 94
92 // Migrates cryptohome using |old_password| specified. 95 // Migrates cryptohome using |old_password| specified.
93 void RecoverEncryptedData(const std::string& old_password); 96 void RecoverEncryptedData(const std::string& old_password);
94 97
95 // Reinitializes cryptohome with the new password. 98 // Reinitializes cryptohome with the new password.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // Authorization mode type. 223 // Authorization mode type.
221 AuthorizationMode auth_mode_; 224 AuthorizationMode auth_mode_;
222 225
223 base::WeakPtrFactory<LoginPerformer> weak_factory_; 226 base::WeakPtrFactory<LoginPerformer> weak_factory_;
224 DISALLOW_COPY_AND_ASSIGN(LoginPerformer); 227 DISALLOW_COPY_AND_ASSIGN(LoginPerformer);
225 }; 228 };
226 229
227 } // namespace chromeos 230 } // namespace chromeos
228 231
229 #endif // CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_ 232 #endif // CHROMEOS_LOGIN_AUTH_LOGIN_PERFORMER_H_
OLDNEW
« no previous file with comments | « chromeos/login/auth/cryptohome_authenticator.cc ('k') | chromeos/login/auth/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698