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

Unified Diff: sync/internal_api/public/sync_manager.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 | « sync/engine/net/server_connection_manager.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 2d71466d7ff4784896db0395aeb088579b12a6bd..d754bf01a35a72bef55b82eeeff573c07c98054e 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -61,8 +61,12 @@ enum ConnectionStatus {
// Contains everything needed to talk to and identify a user account.
struct SyncCredentials {
+ // The email associated with this account.
std::string email;
+ // The raw authentication token's bytes.
std::string sync_token;
+ // (optional) The time at which the token was fetched/refreshed.
+ base::Time sync_token_time;
};
// SyncManager encapsulates syncable::Directory and serves as the parent of all
« no previous file with comments | « sync/engine/net/server_connection_manager.cc ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698