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

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: Self review 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
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..ac852b2ecb55098c17bdc6185e367a4d4e6939da 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::Time 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') | chrome/browser/ui/webui/foreign_session_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698