summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/resources
diff options
context:
space:
mode:
authorimcheng <imcheng@chromium.org>2015-09-08 11:18:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-08 18:18:50 +0000
commitad2e57449661a66c67fd56d56163af72d4748d24 (patch)
tree9e03fe1c701890a8a2646e954869bd0a41f715c0 /extensions/renderer/resources
parentc0e0ebaacc8dadedb14f7226b5352be425e6911f (diff)
downloadchromium_src-ad2e57449661a66c67fd56d56163af72d4748d24.zip
chromium_src-ad2e57449661a66c67fd56d56163af72d4748d24.tar.gz
chromium_src-ad2e57449661a66c67fd56d56163af72d4748d24.tar.bz2
[Media Router] Remove obsolete code from media_router_bindings.js
- Remove unused functions onRouteResponseError/onRouteResponseReceived - Remove redundant argument from onRoutesUpdated. Note it can be further simplified by removing the input arg if we end up not needing a MediaSink object in a MediaRoute. BUG=527100 Review URL: https://codereview.chromium.org/1323723003 Cr-Commit-Position: refs/heads/master@{#347743}
Diffstat (limited to 'extensions/renderer/resources')
-rw-r--r--extensions/renderer/resources/media_router_bindings.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/extensions/renderer/resources/media_router_bindings.js b/extensions/renderer/resources/media_router_bindings.js
index dc54f42..172b91b 100644
--- a/extensions/renderer/resources/media_router_bindings.js
+++ b/extensions/renderer/resources/media_router_bindings.js
@@ -263,29 +263,6 @@ define('media_router_bindings', [
};
/**
- * Called by the Provider Manager when an error was encountered in response
- * to a media route creation request.
- * @param {!string} requestId The request id.
- * @param {!string} error The error.
- */
- MediaRouter.prototype.onRouteResponseError =
- function(requestId, error) {
- this.service_.onRouteResponseError(requestId, error);
- };
-
- /**
- * Called by the provider manager when a route was able to be created by a
- * media route provider.
- *
- * @param {string} requestId The media route request id.
- * @param {string} routeId The id of the media route that was created.
- */
- MediaRouter.prototype.onRouteResponseReceived =
- function(requestId, routeId) {
- this.service_.onRouteResponseReceived(requestId, routeId);
- };
-
- /**
* Object containing callbacks set by the provider manager.
* TODO(mfoltz): Better named ProviderManagerDelegate?
*