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

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

Issue 1128923006: Do not invalidate OAuth token status user when token handle is invalid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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 17836602aafbf6e076c2bde056a79e695f823ed3..8933b0e052e0842b9b79bf7f4842995a6b50c9b8 100644
--- a/chrome/browser/chromeos/login/signin/token_handle_util.h
+++ b/chrome/browser/chromeos/login/signin/token_handle_util.h
@@ -40,7 +40,12 @@ 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);
+
+ //
Nikita (slow) 2015/05/12 17:45:57 nit: comment is missing?
+ void MarkHandleInvalid(const user_manager::UserID& user_id);
+
+ bool ShouldObtainHandle(const user_manager::UserID& user_id);
Nikita (slow) 2015/05/12 17:45:57 nit: same here
// Performs token handle check for |user_id|. Will call |callback| with
// corresponding result.

Powered by Google App Engine
This is Rietveld 408576698