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

Unified Diff: remoting/client/plugin/chromoting_scriptable_object.h

Issue 7068006: Revert 86575 - Revert 86573 - Add separate nonce version of connect calls to ChromotingScriptable... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: remoting/client/plugin/chromoting_scriptable_object.h
===================================================================
--- remoting/client/plugin/chromoting_scriptable_object.h (revision 86581)
+++ remoting/client/plugin/chromoting_scriptable_object.h (working copy)
@@ -74,12 +74,16 @@
//
// // Methods for establishing a Chromoting connection.
// //
-// // Either use connect() or connectSandboxed(), not both. If using
-// // connectSandboxed(), sendIq must be set, and responses to calls on
-// // sendIq must be piped back into onIq().
-// void connect(string username, string host_jid, string auth_token,
-// string nonce);
-// void connectSandboxed(string your_jid, string host_jid, string nonce);
+// // When using the sandboxed versions, sendIq must be set and responses to
+// // calls on sendIq must be piped back into onIq().
+// void connect(string host_jid, string client_jid,
+// optional string access_code);
+// // Non-sandboxed version used for debugging/testing.
+// // TODO(garykac): Remove this version once we no longer need it.
+// void connectUnsandboxed(string host_jid, string username,
+// string xmpp_token, optional string access_code);
+//
+// // Terminating a Chromoting connection.
// void disconnect();
//
// // Method for submitting login information.
@@ -193,8 +197,8 @@
void SignalDesktopSizeChange();
pp::Var DoConnect(const std::vector<pp::Var>& args, pp::Var* exception);
- pp::Var DoConnectSandboxed(const std::vector<pp::Var>& args,
- pp::Var* exception);
+ pp::Var DoConnectUnsandboxed(const std::vector<pp::Var>& args,
+ pp::Var* exception);
pp::Var DoDisconnect(const std::vector<pp::Var>& args, pp::Var* exception);
// This method is called by JS to provide login information.
« no previous file with comments | « remoting/client/appengine/static_files/chromoting_session.js ('k') | remoting/client/plugin/chromoting_scriptable_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698