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

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

Issue 895523004: [Chromoting] Add ability to enable/disable GDrive support per-app in gyp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Application.hasCapability 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/desktop_remoting.js
diff --git a/remoting/webapp/crd/js/desktop_remoting.js b/remoting/webapp/crd/js/desktop_remoting.js
index 9e2e101062006af757ac5b61f02cf4d0d3b8f565..5d9abb8636c341d3a75e44baf58cdb938d07609e 100644
--- a/remoting/webapp/crd/js/desktop_remoting.js
+++ b/remoting/webapp/crd/js/desktop_remoting.js
@@ -156,21 +156,6 @@ remoting.DesktopRemoting.prototype.getDefaultRemapKeys = function() {
};
/**
- * @return {Array.<string>} A list of |ClientSession.Capability|s required
- * by this application.
- */
-remoting.DesktopRemoting.prototype.getRequiredCapabilities = function() {
- return [
- remoting.ClientSession.Capability.SEND_INITIAL_RESOLUTION,
- remoting.ClientSession.Capability.RATE_LIMIT_RESIZE_REQUESTS,
- remoting.ClientSession.Capability.VIDEO_RECORDER,
- // TODO(aiguha): Add this capability based on a gyp/command-line flag,
- // rather than by default.
- remoting.ClientSession.Capability.CAST
- ];
-};
-
-/**
* Called when a new session has been connected.
*
* @param {remoting.ClientSession} clientSession
« remoting/webapp/base/js/application.js ('K') | « remoting/webapp/crd/js/crd_main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698