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

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: Reviewer feedback. 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
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..c3e259048ce3b218785767cb3170a044dace222f 100644
--- a/remoting/webapp/base/js/log_to_server.js
+++ b/remoting/webapp/base/js/log_to_server.js
@@ -110,6 +110,15 @@ 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_;
+};
+
+
kelvinp 2015/05/14 21:54:58 Remove this blank line.
Jamie 2015/05/15 00:26:23 Done.
+/**
* Whether a session state is one of the states that occurs at the start of
* a session.
*
@@ -286,4 +295,3 @@ remoting.LogToServer.prototype.setAuthTotalTime = function(totalTime) {
remoting.LogToServer.prototype.setHostVersion = function(hostVersion) {
this.hostVersion_ = hostVersion;
};
-
« remoting/webapp/base/js/client_session.js ('K') | « 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