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

Unified Diff: remoting/client/appengine/static_files/chromoting_session.js

Issue 6621018: Convert Chromoting plugin logging to appear in client UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make overridden methods virtual for clang Created 9 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 | « no previous file | remoting/client/chromoting_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/appengine/static_files/chromoting_session.js
diff --git a/remoting/client/appengine/static_files/chromoting_session.js b/remoting/client/appengine/static_files/chromoting_session.js
index 7c2a8b9fd3da6e84f8527ef036a5b04cc500b46d..6a95f7dea191b904d29912430a5772c98280263b 100644
--- a/remoting/client/appengine/static_files/chromoting_session.js
+++ b/remoting/client/appengine/static_files/chromoting_session.js
@@ -19,6 +19,7 @@ chromoting.connectMethod = 'sandboxed';
// to the plugin.
function feedIq() {
var xhr = new XMLHttpRequest();
+ addToDebugLog("xmpp proxy: " + chromoting.httpXmppProxy);
xhr.open("GET", chromoting.httpXmppProxy + '/readIq?host_jid=' +
encodeURIComponent(document.hostjid), true);
xhr.withCredentials = true;
@@ -42,6 +43,7 @@ function feedIq() {
function registerConnection() {
var xhr = new XMLHttpRequest();
+ addToDebugLog("xmpp proxy: " + chromoting.httpXmppProxy);
xhr.open("POST", chromoting.httpXmppProxy + '/newConnection', true);
xhr.withCredentials = true;
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
« no previous file with comments | « no previous file | remoting/client/chromoting_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698