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

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

Issue 2841103002: Chromad: Add GetUserStatus call into AuthPolicyClient (Closed)
Patch Set: Fix test build Created 3 years, 7 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_AUTHPOLICY_LOGIN_HELPER_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_AUTHPOLICY_LOGIN_HELPER_H_
6 #define CHROMEOS_LOGIN_AUTH_AUTHPOLICY_LOGIN_HELPER_H_ 6 #define CHROMEOS_LOGIN_AUTH_AUTHPOLICY_LOGIN_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 void CancelRequestsAndRestart(); 49 void CancelRequestsAndRestart();
50 50
51 private: 51 private:
52 // Called from AuthPolicyClient::JoinAdDomain. 52 // Called from AuthPolicyClient::JoinAdDomain.
53 void OnJoinCallback(JoinCallback callback, authpolicy::ErrorType error); 53 void OnJoinCallback(JoinCallback callback, authpolicy::ErrorType error);
54 54
55 // Called from AuthPolicyClient::AuthenticateUser. 55 // Called from AuthPolicyClient::AuthenticateUser.
56 void OnAuthCallback( 56 void OnAuthCallback(
57 AuthCallback callback, 57 AuthCallback callback,
58 authpolicy::ErrorType error, 58 authpolicy::ErrorType error,
59 const authpolicy::ActiveDirectoryAccountData& account_data); 59 const authpolicy::ActiveDirectoryAccountInfo& account_info);
60 60
61 base::WeakPtrFactory<AuthPolicyLoginHelper> weak_factory_; 61 base::WeakPtrFactory<AuthPolicyLoginHelper> weak_factory_;
62 DISALLOW_COPY_AND_ASSIGN(AuthPolicyLoginHelper); 62 DISALLOW_COPY_AND_ASSIGN(AuthPolicyLoginHelper);
63 }; 63 };
64 64
65 } // namespace chromeos 65 } // namespace chromeos
66 66
67 #endif // CHROMEOS_LOGIN_AUTH_AUTHPOLICY_LOGIN_HELPER_H_ 67 #endif // CHROMEOS_LOGIN_AUTH_AUTHPOLICY_LOGIN_HELPER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_auth_policy_client_unittest.cc ('k') | chromeos/login/auth/authpolicy_login_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698