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

Unified Diff: remoting/webapp/crd/js/crd_main.js

Issue 803653004: Update Chromoting to use /third_party/closure_compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define Entry for browser_tests Created 5 years, 11 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/crd/js/crd_main.js
diff --git a/remoting/webapp/crd/js/crd_main.js b/remoting/webapp/crd/js/crd_main.js
index 71802eb5466b5bb2e22139c65420d7db17e733e1..9b57b2335a3e3940ce0ca4f78a4b5c417acd9dec 100644
--- a/remoting/webapp/crd/js/crd_main.js
+++ b/remoting/webapp/crd/js/crd_main.js
@@ -63,19 +63,20 @@ remoting.initHostlist_ = function() {
remoting.connectMe2Me(hostId);
return;
} else if (urlParams['mode'] === 'hangout') {
- /** @param {*} id */
- getCurrentId().then(function(id) {
- /** @type {string} */
- var accessCode = urlParams['accessCode'];
- var connector = remoting.app.getSessionConnector();
- remoting.setMode(remoting.AppMode.CLIENT_CONNECTING);
- connector.connectIT2Me(accessCode);
-
- document.body.classList.add('hangout-remote-desktop');
- var senderId = /** @type {string} */ String(id);
- var hangoutSession = new remoting.HangoutSession(senderId);
- hangoutSession.init();
- });
+ getCurrentId().then(
+ /** @param {*} id */
+ function(id) {
+ /** @type {string} */
+ var accessCode = urlParams['accessCode'];
+ var connector = remoting.app.getSessionConnector();
+ remoting.setMode(remoting.AppMode.CLIENT_CONNECTING);
+ connector.connectIT2Me(accessCode);
+
+ document.body.classList.add('hangout-remote-desktop');
+ var senderId = /** @type {string} */ (String(id));
+ var hangoutSession = new remoting.HangoutSession(senderId);
+ hangoutSession.init();
+ });
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698