Index: remoting/webapp/base/js/client_session.js |
diff --git a/remoting/webapp/base/js/client_session.js b/remoting/webapp/base/js/client_session.js |
index db13e65fa54a9ad382909f79cfab4103d5de8436..020ce349add9208f71fa0f7c7419f62437b2db29 100644 |
--- a/remoting/webapp/base/js/client_session.js |
+++ b/remoting/webapp/base/js/client_session.js |
@@ -329,6 +329,14 @@ remoting.ClientSession.prototype.getError = function() { |
}; |
/** |
+ * @return {string} The current session id. This is random GUID, refreshed |
+ * every 24hrs. |
+ */ |
+remoting.ClientSession.prototype.getSessionId = function() { |
+ return this.logToServer_.getSessionId(); |
kelvinp
2015/05/13 22:36:53
use this.sessionId_ instead.
Jamie
2015/05/13 23:41:24
I hadn't realized there was already a sessionId_ m
kelvinp
2015/05/14 01:18:04
On I see, in this, case, you can access the logger
|
+}; |
+ |
+/** |
* Called when the client receives its first frame. |
* |
* @return {void} Nothing. |
@@ -604,4 +612,3 @@ remoting.ClientSession.prototype.reportStatistics = function() { |
remoting.ClientSession.prototype.logHostOfflineErrors = function(enable) { |
this.logHostOfflineErrors_ = enable; |
}; |
- |