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 17836602aafbf6e076c2bde056a79e695f823ed3..592d8623c12ab3c459571017e6c42baac1cb8c65 100644 |
--- a/chrome/browser/chromeos/login/signin/token_handle_util.h |
+++ b/chrome/browser/chromeos/login/signin/token_handle_util.h |
@@ -40,7 +40,14 @@ class TokenHandleUtil { |
bool HasToken(const user_manager::UserID& user_id); |
// Removes token handle for |user_id| from UserManager storage. |
- void DeleteToken(const user_manager::UserID& user_id); |
+ void DeleteHandle(const user_manager::UserID& user_id); |
+ |
+ // Marks current handle as invalid, new one should be obtained at next sign |
+ // in. |
+ void MarkHandleInvalid(const user_manager::UserID& user_id); |
+ |
+ // Indicates if token handle for |user_id| is missing or marked as invalid. |
+ bool ShouldObtainHandle(const user_manager::UserID& user_id); |
// Performs token handle check for |user_id|. Will call |callback| with |
// corresponding result. |