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

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

Issue 7730002: Call SendIq() from plugin asynchronously. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comments Created 9 years, 4 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/plugin/chromoting_scriptable_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_scriptable_object.h
diff --git a/remoting/client/plugin/chromoting_scriptable_object.h b/remoting/client/plugin/chromoting_scriptable_object.h
index e34f2e139d4eea072059ec93b55dfb8930b36cc4..04ef206175b4d21237830df6ba80b08632ef9f27 100644
--- a/remoting/client/plugin/chromoting_scriptable_object.h
+++ b/remoting/client/plugin/chromoting_scriptable_object.h
@@ -214,13 +214,13 @@ class ChromotingScriptableObject
void SignalConnectionInfoChange();
void SignalDesktopSizeChange();
- // Calls to these methods are posted to the plugin thread from
- // corresponding Signal*() methods. They actually call JavaScript
- // code. This is necessary becase JavaScript needs to be called with
- // clean stack - JavaScript event handlers may destroy the plugin.
+ // Calls to these methods are posted to the plugin thread so that we
+ // call JavaScript with clean stack. This is necessary because
+ // JavaScript event handlers may destroy the plugin.
void DoSignalConnectionInfoChange();
void DoSignalDesktopSizeChange();
void DoSignalLoginChallenge();
+ void DoSendIq(const std::string& message_xml);
pp::Var DoConnect(const std::vector<pp::Var>& args, pp::Var* exception);
pp::Var DoDisconnect(const std::vector<pp::Var>& args, pp::Var* exception);
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_scriptable_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698