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

Unified Diff: chrome/browser/signin/token_service.h

Issue 19567004: Convert SigninTracker to use OAuth2TokenService notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Filip's review comments Created 7 years, 4 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/signin/token_service.h
diff --git a/chrome/browser/signin/token_service.h b/chrome/browser/signin/token_service.h
index d064796a2306e72f6719a0b049b3d0a5fdb9a64f..9f72da98eafb7af7465905f658a26b7fb6ab630f 100644
--- a/chrome/browser/signin/token_service.h
+++ b/chrome/browser/signin/token_service.h
@@ -135,6 +135,9 @@ class TokenService : public GaiaAuthConsumer,
void UpdateCredentialsWithOAuth2(
const GaiaAuthConsumer::ClientOAuthResult& credentials);
+ // Remove the OAuth2 token.
+ void ClearOAuth2Credentials();
+
// Terminate any running requests and reset the TokenService to a clean
// slate. Resets in memory structures. Does not modify the DB.
// When this is done, no tokens will be left in memory and no

Powered by Google App Engine
This is Rietveld 408576698