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

Unified Diff: remoting/client/plugin/chromoting_instance.h

Issue 1305453002: Add UMA stats for Chromoting connection details. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: remoting/client/plugin/chromoting_instance.h
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index 09c2252ecb85c30a3132aac42755735f5e5977e2..8762eee8ebc6470c054dcdd0b0f8a096092df9f1 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -288,6 +288,13 @@ class ChromotingInstance : public ClientUserInterface,
// Weak reference to this instance, used for global logging and task posting.
base::WeakPtrFactory<ChromotingInstance> weak_factory_;
+ // Time when a connection request was started.
+ base::Time connection_connecting_;
Sergey Ulanov 2015/08/20 21:05:19 use base::TimeTicks, instead of base::Time.
Sergey Ulanov 2015/08/20 21:05:19 nit: rename these to indicate the purpose more cle
anandc 2015/08/20 23:12:01 Done.
anandc 2015/08/20 23:12:01 Done.
+ // Time when a connection request was authenticated.
+ base::Time connection_authenticated_;
+ // Time when a connection request was connected.
+ base::Time connection_connected_;
+
DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
};
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | remoting/client/plugin/chromoting_instance.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698