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

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

Issue 2867223003: Send a message to the client if bad It2Me policies are read. (Closed)
Patch Set: Fix race. Created 3 years, 7 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/crd/js/host_session.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/it2me_host_facade.js
diff --git a/remoting/webapp/crd/js/it2me_host_facade.js b/remoting/webapp/crd/js/it2me_host_facade.js
index 0d517ad944f7985ac2fb9a6b8220dd7a2110017d..1f240f475da09f164892905e771a2e909f1f2907 100644
--- a/remoting/webapp/crd/js/it2me_host_facade.js
+++ b/remoting/webapp/crd/js/it2me_host_facade.js
@@ -287,6 +287,12 @@ remoting.It2MeHostFacade.prototype.onIncomingMessage_ =
}
break;
+ case 'policyError':
+ if (this.onError_) {
+ this.onError_(new remoting.Error(remoting.Error.Tag.POLICY_ERROR));
+ }
+ break;
+
case 'error':
console.error(base.getStringAttr(message, 'description'));
if (this.onError_) {
« no previous file with comments | « remoting/webapp/crd/js/host_session.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698