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..904ad1923f4c6012995c52576f6f91df3772d3b9 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 log session id (distinct from the jingle session |
+* id). This is random GUID, refreshed every 24hrs. |
+ */ |
+ remoting.ClientSession.prototype.getLogSessionId = function() { |
+ return this.logToServer_.getSessionId(); |
+}; |
+ |
+/** |
* 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; |
}; |
- |