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

Unified Diff: remoting/webapp/base/js/log_to_server.js

Issue 1131853004: Include the session id in feedback logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed blank line. Created 5 years, 7 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 | « remoting/webapp/base/js/client_session.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/log_to_server.js
diff --git a/remoting/webapp/base/js/log_to_server.js b/remoting/webapp/base/js/log_to_server.js
index 18c7e642495eca6b318819b6ca6e6afef10d97d1..e68a001aa2e22320c69db9cc4e901b6b449cd5e2 100644
--- a/remoting/webapp/base/js/log_to_server.js
+++ b/remoting/webapp/base/js/log_to_server.js
@@ -110,6 +110,14 @@ remoting.LogToServer.prototype.logSignalStrategyProgress =
};
/**
+ * @return {string} The current session id. This is random GUID, refreshed
+ * every 24hrs.
+ */
+remoting.LogToServer.prototype.getSessionId = function() {
+ return this.sessionId_;
+};
+
+/**
* Whether a session state is one of the states that occurs at the start of
* a session.
*
@@ -286,4 +294,3 @@ remoting.LogToServer.prototype.setAuthTotalTime = function(totalTime) {
remoting.LogToServer.prototype.setHostVersion = function(hostVersion) {
this.hostVersion_ = hostVersion;
};
-
« no previous file with comments | « remoting/webapp/base/js/client_session.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698