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

Unified Diff: remoting/webapp/crd/js/background.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/base/js/application.js ('k') | remoting/webapp/crd/js/client_screen.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/background.js
diff --git a/remoting/webapp/crd/js/background.js b/remoting/webapp/crd/js/background.js
index b0909920012f9979e8983731da5f5fde2546e43f..12bc56f6ffdd2d7eb402c6de803ebd2d886aea90 100644
--- a/remoting/webapp/crd/js/background.js
+++ b/remoting/webapp/crd/js/background.js
@@ -9,8 +9,6 @@ var remoting = remoting || {};
'use strict';
-var ENABLE_HANGOUT_REMOTE_ASSISTANCE = false;
-
/**
* @constructor
*/
@@ -19,16 +17,7 @@ var BackgroundPage = function() {
this.appLauncher_ = null;
/** @private {remoting.ActivationHandler} */
this.activationHandler_ = null;
- /** @private {remoting.It2MeService} */
- this.it2meService_ = null;
- /** @private {base.Disposables} */
- this.disposables_ = null;
-
this.preInit_();
- this.onResumed_();
-
- chrome.runtime.onSuspendCanceled.addListener(this.onResumed_.bind(this));
- chrome.runtime.onSuspend.addListener(this.onSuspended_.bind(this));
};
/**
@@ -56,21 +45,6 @@ BackgroundPage.prototype.preInit_ = function() {
}
};
-/** @private */
-BackgroundPage.prototype.onResumed_ = function() {
- if (ENABLE_HANGOUT_REMOTE_ASSISTANCE) {
- this.it2meService_ = new remoting.It2MeService(this.appLauncher_);
- this.it2meService_.init();
- this.disposables_ = new base.Disposables(this.it2meService_);
- }
-};
-
-/** @private */
-BackgroundPage.prototype.onSuspended_ = function() {
- this.it2meService_ = null;
- base.dispose(this.disposables_);
- this.disposables_ = null;
-};
window.addEventListener('load', function() {
remoting.backgroundPage = new BackgroundPage();
« no previous file with comments | « remoting/webapp/base/js/application.js ('k') | remoting/webapp/crd/js/client_screen.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698