summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/client_screen.js
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-06 23:05:05 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-06 23:05:05 +0000
commit570f1398193401858dea40375ec221affea7b20d (patch)
tree1f431f12cf38287b4f1aa89be5445721a5284e0d /remoting/webapp/client_screen.js
parent49b92f851a3a814cbf468164120bfd7222993687 (diff)
downloadchromium_src-570f1398193401858dea40375ec221affea7b20d.zip
chromium_src-570f1398193401858dea40375ec221affea7b20d.tar.gz
chromium_src-570f1398193401858dea40375ec221affea7b20d.tar.bz2
Include user or host in session-finished message.
BUG=113984 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9602027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/client_screen.js')
-rw-r--r--remoting/webapp/client_screen.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index de0a063..ea677cc 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -457,6 +457,9 @@ remoting.connectMe2Me = function(hostId, retryIfOffline) {
// Skip PIN prompt if it is not supported.
remoting.connectMe2MeWithPin();
} else {
+ var host = remoting.hostList.getHostForId(remoting.hostId);
+ var message = document.getElementById('pin-message');
+ l10n.localizeElement(message, host.hostName);
remoting.setMode(remoting.AppMode.CLIENT_PIN_PROMPT);
}
};