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

Side by Side Diff: chromeos/login/auth/stub_authenticator.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/login_performer.cc ('k') | chromeos/login/auth/stub_authenticator.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_STUB_AUTHENTICATOR_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_STUB_AUTHENTICATOR_H_
6 #define CHROMEOS_LOGIN_AUTH_STUB_AUTHENTICATOR_H_ 6 #define CHROMEOS_LOGIN_AUTH_STUB_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 21 matching lines...) Expand all
32 void CompleteLogin(content::BrowserContext* context, 32 void CompleteLogin(content::BrowserContext* context,
33 const UserContext& user_context) override; 33 const UserContext& user_context) override;
34 void AuthenticateToLogin(content::BrowserContext* context, 34 void AuthenticateToLogin(content::BrowserContext* context,
35 const UserContext& user_context) override; 35 const UserContext& user_context) override;
36 void AuthenticateToUnlock(const UserContext& user_context) override; 36 void AuthenticateToUnlock(const UserContext& user_context) override;
37 void LoginAsSupervisedUser(const UserContext& user_context) override; 37 void LoginAsSupervisedUser(const UserContext& user_context) override;
38 void LoginOffTheRecord() override; 38 void LoginOffTheRecord() override;
39 void LoginAsPublicSession(const UserContext& user_context) override; 39 void LoginAsPublicSession(const UserContext& user_context) override;
40 void LoginAsKioskAccount(const AccountId& app_account_id, 40 void LoginAsKioskAccount(const AccountId& app_account_id,
41 bool use_guest_mount) override; 41 bool use_guest_mount) override;
42 void LoginAsArcKioskAccount(const AccountId& app_account_id) override;
42 void OnAuthSuccess() override; 43 void OnAuthSuccess() override;
43 void OnAuthFailure(const AuthFailure& failure) override; 44 void OnAuthFailure(const AuthFailure& failure) override;
44 void RecoverEncryptedData(const std::string& old_password) override; 45 void RecoverEncryptedData(const std::string& old_password) override;
45 void ResyncEncryptedData() override; 46 void ResyncEncryptedData() override;
46 47
47 virtual void SetExpectedCredentials(const UserContext& user_context); 48 virtual void SetExpectedCredentials(const UserContext& user_context);
48 49
49 protected: 50 protected:
50 ~StubAuthenticator() override; 51 ~StubAuthenticator() override;
51 52
52 private: 53 private:
53 UserContext expected_user_context_; 54 UserContext expected_user_context_;
54 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 55 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(StubAuthenticator); 57 DISALLOW_COPY_AND_ASSIGN(StubAuthenticator);
57 }; 58 };
58 59
59 } // namespace chromeos 60 } // namespace chromeos
60 61
61 #endif // CHROMEOS_LOGIN_AUTH_STUB_AUTHENTICATOR_H_ 62 #endif // CHROMEOS_LOGIN_AUTH_STUB_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chromeos/login/auth/login_performer.cc ('k') | chromeos/login/auth/stub_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698