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

Unified Diff: remoting/webapp/client_plugin.js

Issue 524843002: Don't print out extension message data if unrecognized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo 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 | « remoting/host/client_session.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_plugin.js
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js
index 71b12099e58a21e801b87580254481efb6ad66e4..197eeffd743adc58c351534895344d6494181be2 100644
--- a/remoting/webapp/client_plugin.js
+++ b/remoting/webapp/client_plugin.js
@@ -371,10 +371,8 @@ remoting.ClientPlugin.prototype.handleMessageMethod_ = function(message) {
this.onCastExtensionHandler(extMsgData);
break;
default:
- if (!this.onExtensionMessage_(extMsgType, extMsgData)) {
- console.log('Unexpected message received: ' +
- extMsgType + ': ' + extMsgData);
- }
+ this.onExtensionMessage_(extMsgType, extMsgData);
+ break;
}
} else if (message.method == 'mediaSourceReset') {
« no previous file with comments | « remoting/host/client_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698