| Index: remoting/webapp/app_remoting/js/feedback_consent.js
|
| diff --git a/remoting/webapp/app_remoting/js/feedback_consent.js b/remoting/webapp/app_remoting/js/feedback_consent.js
|
| index 1437d057c1a8b7ecd0898c58ca79edb7dfcc1427..252c5b3ead7a2bfe797d0e633891479a8038ab60 100644
|
| --- a/remoting/webapp/app_remoting/js/feedback_consent.js
|
| +++ b/remoting/webapp/app_remoting/js/feedback_consent.js
|
| @@ -18,6 +18,12 @@ var hostId = '@pending';
|
| var connectionStats = '';
|
|
|
| /**
|
| + * @type {string} The most recent id for the session (unless the session is
|
| + * longer than 24hrs, this will be the only session id).
|
| + */
|
| +var sessionId = '';
|
| +
|
| +/**
|
| * @type {string} "no" => user did not request a VM reset; "yes" => VM was
|
| * successfully reset; "failed" => user requested a reset, but it failed.
|
| */
|
| @@ -59,7 +65,8 @@ function onUserInfo(email, realName) {
|
| '&psd_hostId=' + escape(hostId) +
|
| '&psd_abandonHost=' + escape(abandonHost) +
|
| '&psd_crashServiceReportId=' + escape(crashServiceReportId) +
|
| - '&psd_connectionStats=' + escape(connectionStats));
|
| + '&psd_connectionStats=' + escape(connectionStats) +
|
| + '&psd_sessionId=' + escape(sessionId));
|
| window.close();
|
|
|
| // If the VM was successfully abandoned, close the application.
|
| @@ -225,6 +232,7 @@ function onWindowMessage(event) {
|
| hostId = /** @type {string} */ (event.data['hostId']);
|
| }
|
| connectionStats = /** @type {string} */ (event.data['connectionStats']);
|
| + sessionId = /** @type {string} */ (event.data['sessionId']);
|
| }
|
| };
|
|
|
|
|