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

Unified Diff: remoting/host/client_connection.h

Issue 2829018: Fix thread usage in chromoting host (Closed)
Patch Set: removed useless test Created 10 years, 6 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/host/chromoting_host_context_unittest.cc ('k') | remoting/host/client_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_connection.h
diff --git a/remoting/host/client_connection.h b/remoting/host/client_connection.h
index 810eb61d6e71a1a8a84b1a57610a586cf10b8eac..3e85cc97c03d929a7df444983d5d3d9b1ac1f060 100644
--- a/remoting/host/client_connection.h
+++ b/remoting/host/client_connection.h
@@ -90,7 +90,10 @@ class ClientConnection : public base::RefCountedThreadSafe<ClientConnection>,
// TODO(hclam): Report this number accurately.
virtual int GetPendingUpdateStreamMessages();
- // Disconnect the remote viewer.
+ // Disconnect the client connection. This method is allowed to be called
+ // more than once and calls after the first one will be ignored.
+ //
+ // After this method is called all the send method calls will be ignored.
virtual void Disconnect();
/////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « remoting/host/chromoting_host_context_unittest.cc ('k') | remoting/host/client_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698