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

Unified Diff: chrome/browser/ui/webui/foreign_session_handler.h

Issue 1180283002: [Sync] Add tab sync latency UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix TimeTicks Created 5 years, 6 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/ui/webui/foreign_session_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/foreign_session_handler.h
diff --git a/chrome/browser/ui/webui/foreign_session_handler.h b/chrome/browser/ui/webui/foreign_session_handler.h
index 81e96ab9ed415f823fca28a991a0e2fbf17a506e..c0d019565c89fa507df94395de5194dd7700bac1 100644
--- a/chrome/browser/ui/webui/foreign_session_handler.h
+++ b/chrome/browser/ui/webui/foreign_session_handler.h
@@ -94,6 +94,10 @@ class ForeignSessionHandler : public content::WebUIMessageHandler,
// The Registrar used to register ForeignSessionHandler for notifications.
content::NotificationRegistrar registrar_;
+ // The time at which this WebUI was created. Used to calculate how long
+ // the WebUI was present before the sessions data was visible.
+ base::TimeTicks load_attempt_time_;
+
DISALLOW_COPY_AND_ASSIGN(ForeignSessionHandler);
};
« no previous file with comments | « no previous file | chrome/browser/ui/webui/foreign_session_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698