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

Unified Diff: remoting/webapp/background/background.js

Issue 572083002: Disable Hangouts Remote Desktop Integration until it passes security review (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/background/background.js
diff --git a/remoting/webapp/background/background.js b/remoting/webapp/background/background.js
index 70f4020b521f35094cb0ac48712287374d216c05..8c32589ad83a6e0c432aadeaf69210bc344f9607 100644
--- a/remoting/webapp/background/background.js
+++ b/remoting/webapp/background/background.js
@@ -60,15 +60,19 @@ function initializeBackgroundService(appLauncher) {
}
function main() {
- /** @type {remoting.AppLauncher} */
- var appLauncher = new remoting.V1AppLauncher();
if (base.isAppsV2()) {
appLauncher = new remoting.V2AppLauncher();
initializeAppV2(appLauncher);
}
- initializeBackgroundService(appLauncher);
}
+remoting.enableHangoutsRemoteAssistance = function() {
+ /** @type {remoting.AppLauncher} */
+ var appLauncher = base.isAppsV2() ? new remoting.V1AppLauncher():
+ new remoting.V2AppLauncher();
+ initializeBackgroundService(appLauncher);
+};
+
window.addEventListener('load', main, false);
}());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698