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

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

Issue 10262035: Check whether the client is connected before trying to write to channels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.h
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index 66e00b159fde19425e9b64747afa52e794f88fb2..a22338269f9deb3ae870960c59d5af85c0eb319a 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -190,6 +190,9 @@ class ChromotingInstance :
void ProcessLogToUI(const std::string& message);
+ // Returns true if there is a ConnectionToHost and it is connected.
+ bool IsConnected();
+
bool initialized_;
PepperPluginThreadDelegate plugin_thread_delegate_;
@@ -199,6 +202,7 @@ class ChromotingInstance :
scoped_ptr<PepperView> view_;
scoped_refptr<RectangleUpdateDecoder> rectangle_decoder_;
+
scoped_ptr<protocol::MouseInputFilter> mouse_input_filter_;
scoped_ptr<protocol::InputEventTracker> input_tracker_;
KeyEventMapper key_mapper_;
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698