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

Unified Diff: remoting/webapp/app_remoting/js/app_connected_view.js

Issue 1131853004: Include the session id in feedback logs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/app_remoting/js/app_connected_view.js
diff --git a/remoting/webapp/app_remoting/js/app_connected_view.js b/remoting/webapp/app_remoting/js/app_connected_view.js
index 73c308840c75abfff56082c91db00444f2c314d0..547656a6f26593634db9aebfe3619dcd15ffec1b 100644
--- a/remoting/webapp/app_remoting/js/app_connected_view.js
+++ b/remoting/webapp/app_remoting/js/app_connected_view.js
@@ -29,12 +29,15 @@ var DRIVE_ACCESS_TOKEN_REFRESH_INTERVAL_MS = 15 * 60 * 1000;
/**
* @param {HTMLElement} containerElement
* @param {remoting.ConnectionInfo} connectionInfo
+ * @param {remoting.ClientSession} clientSession
*
* @constructor
* @implements {base.Disposable}
* @implements {remoting.ProtocolExtension}
*/
-remoting.AppConnectedView = function(containerElement, connectionInfo) {
+remoting.AppConnectedView = function(containerElement,
+ connectionInfo,
kelvinp 2015/05/13 22:36:53 clientSession can be accessed through connectionIn
Jamie 2015/05/13 23:41:24 Done.
+ clientSession) {
/** @private */
this.plugin_ = connectionInfo.plugin();
@@ -50,8 +53,9 @@ remoting.AppConnectedView = function(containerElement, connectionInfo) {
new remoting.ContextMenuDom(document.getElementById('context-menu'));
}
- this.contextMenu_ =
- new remoting.ApplicationContextMenu(menuAdapter, this.plugin_);
+ this.contextMenu_ = new remoting.ApplicationContextMenu(menuAdapter,
+ this.plugin_,
+ clientSession);
this.contextMenu_.setHostId(connectionInfo.host().hostId);
/** @private */

Powered by Google App Engine
This is Rietveld 408576698