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

Unified Diff: chrome/browser/chromeos/policy/wildcard_login_checker.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/wildcard_login_checker.h
diff --git a/chrome/browser/chromeos/policy/wildcard_login_checker.h b/chrome/browser/chromeos/policy/wildcard_login_checker.h
index fd7618667300f04a132ea97097da405176bd98f3..e393da65c5a96531f324f3b73a8ad26800a69b09 100644
--- a/chrome/browser/chromeos/policy/wildcard_login_checker.h
+++ b/chrome/browser/chromeos/policy/wildcard_login_checker.h
@@ -41,6 +41,10 @@ class WildcardLoginChecker : public UserInfoFetcher::Delegate {
void Start(scoped_refptr<net::URLRequestContextGetter> signin_context,
const StatusCallback& callback);
+ // Starts checking with a provided refresh token.
+ void StartWithRefreshToken(const std::string& refresh_token,
+ const StatusCallback& callback);
+
// Starts checking with a provided access token.
void StartWithAccessToken(const std::string& access_token,
const StatusCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698