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

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

Issue 14888003: [Sync] Log age of auth tokens on authentication failure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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
« no previous file with comments | « no previous file | chrome/browser/signin/about_signin_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/about_signin_internals.h
diff --git a/chrome/browser/signin/about_signin_internals.h b/chrome/browser/signin/about_signin_internals.h
index ece1b2dc90e51672e49a546d5bd0535055f62317..eac8175132278e3021daffe3fca86bd1b0cf0705 100644
--- a/chrome/browser/signin/about_signin_internals.h
+++ b/chrome/browser/signin/about_signin_internals.h
@@ -82,6 +82,11 @@ class AboutSigninInternals
// }
scoped_ptr<DictionaryValue> GetSigninStatus();
+ // Returns the time of the last fetch/refresh for the token specified by
+ // |token_name|. See signin_internals_util::kTokenPrefsArray for valid token
+ // names. If |token_name| is invalid, returns base::Time().
+ base::Time GetTokenTime(const std::string& token_name) const;
+
private:
void NotifyObservers();
« no previous file with comments | « no previous file | chrome/browser/signin/about_signin_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698