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

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

Issue 973333002: Remove Hangout Remote Desktop integration code from the webapp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + manifest changes Created 5 years, 10 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
« no previous file with comments | « remoting/webapp/crd/js/client_screen.js ('k') | remoting/webapp/crd/js/desktop_remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1fdc7a246d192c60161271c016e0693f3cfdd8b0..bb7daf4d2d181791fe16c0bfb7924248aa7c3522 100644
--- a/remoting/webapp/crd/js/crd_main.js
+++ b/remoting/webapp/crd/js/crd_main.js
@@ -62,22 +62,6 @@ remoting.initHostlist_ = function() {
var hostId = urlParams['hostId'];
remoting.connectMe2Me(hostId);
return;
- } else if (urlParams['mode'] === 'hangout') {
- 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;
}
}
// No valid URL parameters, start up normally.
« no previous file with comments | « remoting/webapp/crd/js/client_screen.js ('k') | remoting/webapp/crd/js/desktop_remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698