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

Unified Diff: chrome/browser/chromeos/login/signin/token_handle_util.h

Issue 1191273002: ChromeOS: Show the new POD RE-AUTH ICON when users needs to re-auth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 6 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/login/signin/token_handle_util.h
diff --git a/chrome/browser/chromeos/login/signin/token_handle_util.h b/chrome/browser/chromeos/login/signin/token_handle_util.h
index 572d33450033f61cdff45b44dcc614084c76782b..16bbe359277f373f4adff64d55b269a8bb2254f6 100644
--- a/chrome/browser/chromeos/login/signin/token_handle_util.h
+++ b/chrome/browser/chromeos/login/signin/token_handle_util.h
@@ -52,7 +52,10 @@ class TokenHandleUtil {
// Performs token handle check for |user_id|. Will call |callback| with
// corresponding result.
- void CheckToken(const user_manager::UserID& user_id,
+ // Returns true if token check successfully started. Returns false if
+ // there is already token check request for this token, and another one is not
+ // possible now.
+ bool CheckToken(const user_manager::UserID& user_id,
const TokenValidationCallback& callback);
// Given the token |handle| store it for |user_id|.

Powered by Google App Engine
This is Rietveld 408576698