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

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: 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 592d8623c12ab3c459571017e6c42baac1cb8c65..e9f75fd4789ddcec75c03881bec8dd27bbebfe34 100644
--- a/chrome/browser/chromeos/login/signin/token_handle_util.h
+++ b/chrome/browser/chromeos/login/signin/token_handle_util.h
@@ -51,7 +51,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 nother one is not
dzhioev (left Google) 2015/06/22 23:51:24 nit: nother -> another
Alexander Alekseev 2015/06/30 20:43:39 Done.
+ // possible now.
+ bool CheckToken(const user_manager::UserID& user_id,
const TokenValidationCallback& callback);
// Given the OAuth |access_token| attempt to obtain token handle and store it

Powered by Google App Engine
This is Rietveld 408576698