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

Side by Side Diff: chrome/browser/chromeos/login/auth/authenticator.h

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 25 matching lines...) Expand all
36 // this method attempts to authenticate to login. 36 // this method attempts to authenticate to login.
37 // Must be called on the UI thread. 37 // Must be called on the UI thread.
38 virtual void AuthenticateToLogin(Profile* profile, 38 virtual void AuthenticateToLogin(Profile* profile,
39 const UserContext& user_context) = 0; 39 const UserContext& user_context) = 0;
40 40
41 // Given a user credentials in |user_context|, this method attempts to 41 // Given a user credentials in |user_context|, this method attempts to
42 // authenticate to unlock the computer. 42 // authenticate to unlock the computer.
43 // Must be called on the UI thread. 43 // Must be called on the UI thread.
44 virtual void AuthenticateToUnlock(const UserContext& user_context) = 0; 44 virtual void AuthenticateToUnlock(const UserContext& user_context) = 0;
45 45
46 // Initiates locally managed user login. 46 // Initiates supervised user login.
47 virtual void LoginAsLocallyManagedUser( 47 virtual void LoginAsSupervisedUser(
48 const UserContext& user_context) = 0; 48 const UserContext& user_context) = 0;
49 49
50 // Initiates retail mode login. 50 // Initiates retail mode login.
51 virtual void LoginRetailMode() = 0; 51 virtual void LoginRetailMode() = 0;
52 52
53 // Initiates incognito ("browse without signing in") login. 53 // Initiates incognito ("browse without signing in") login.
54 virtual void LoginOffTheRecord() = 0; 54 virtual void LoginOffTheRecord() = 0;
55 55
56 // Initiates login into the public account identified by |username|. 56 // Initiates login into the public account identified by |username|.
57 virtual void LoginAsPublicAccount(const std::string& username) = 0; 57 virtual void LoginAsPublicAccount(const std::string& username) = 0;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 private: 102 private:
103 friend class base::RefCountedThreadSafe<Authenticator>; 103 friend class base::RefCountedThreadSafe<Authenticator>;
104 104
105 DISALLOW_COPY_AND_ASSIGN(Authenticator); 105 DISALLOW_COPY_AND_ASSIGN(Authenticator);
106 }; 106 };
107 107
108 } // namespace chromeos 108 } // namespace chromeos
109 109
110 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_ 110 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/display/display_preferences_unittest.cc ('k') | chrome/browser/chromeos/login/auth/login_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698