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

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

Issue 1108983002: Fetch policy with refresh token. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix user_cloud_policy_manager_chromeos_unittest Created 5 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/auth/chrome_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 CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_LOGIN_PERFORMER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_LOGIN_PERFORMER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_LOGIN_PERFORMER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_LOGIN_PERFORMER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 24 matching lines...) Expand all
35 ~ChromeLoginPerformer() override; 35 ~ChromeLoginPerformer() override;
36 36
37 protected: 37 protected:
38 bool RunTrustedCheck(const base::Closure& callback) override; 38 bool RunTrustedCheck(const base::Closure& callback) override;
39 void DidRunTrustedCheck(const base::Closure& callback); 39 void DidRunTrustedCheck(const base::Closure& callback);
40 bool IsUserWhitelisted(const std::string& user_id, 40 bool IsUserWhitelisted(const std::string& user_id,
41 bool* wildcard_match) override; 41 bool* wildcard_match) override;
42 42
43 void RunOnlineWhitelistCheck(const std::string& user_id, 43 void RunOnlineWhitelistCheck(const std::string& user_id,
44 bool wildcard_match, 44 bool wildcard_match,
45 const std::string& refresh_token,
45 const base::Closure& success_callback, 46 const base::Closure& success_callback,
46 const base::Closure& failure_callback) override; 47 const base::Closure& failure_callback) override;
47 bool AreSupervisedUsersAllowed() override; 48 bool AreSupervisedUsersAllowed() override;
48 49
49 bool UseExtendedAuthenticatorForSupervisedUser( 50 bool UseExtendedAuthenticatorForSupervisedUser(
50 const UserContext& user_context) override; 51 const UserContext& user_context) override;
51 52
52 UserContext TransformSupervisedKey(const UserContext& context) override; 53 UserContext TransformSupervisedKey(const UserContext& context) override;
53 54
54 void SetupSupervisedUserFlow(const std::string& user_id) override; 55 void SetupSupervisedUserFlow(const std::string& user_id) override;
(...skipping 14 matching lines...) Expand all
69 // Used to verify logins that matched wildcard on the login whitelist. 70 // Used to verify logins that matched wildcard on the login whitelist.
70 scoped_ptr<policy::WildcardLoginChecker> wildcard_login_checker_; 71 scoped_ptr<policy::WildcardLoginChecker> wildcard_login_checker_;
71 base::WeakPtrFactory<ChromeLoginPerformer> weak_factory_; 72 base::WeakPtrFactory<ChromeLoginPerformer> weak_factory_;
72 73
73 DISALLOW_COPY_AND_ASSIGN(ChromeLoginPerformer); 74 DISALLOW_COPY_AND_ASSIGN(ChromeLoginPerformer);
74 }; 75 };
75 76
76 } // namespace chromeos 77 } // namespace chromeos
77 78
78 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_LOGIN_PERFORMER_H_ 79 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_CHROME_LOGIN_PERFORMER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/auth/chrome_login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698