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

Unified Diff: remoting/host/chromoting_host.h

Issue 3305001: Move decoder into separate thread, clean up API layering, and redo update protocl (Closed)
Patch Set: Fix compile error. Created 10 years, 2 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/capturer.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index cffa4fc13fca6ee644a6ce87a0c768cabaa64807..ce3bdda6358fa29ff1e1b6e95a3a827edf1b939f 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -61,8 +61,10 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
Capturer* capturer, Encoder* encoder, EventExecutor* executor);
virtual ~ChromotingHost();
- // Start the host process. This method starts the chromoting host
- // asynchronously.
+ // Asynchronously start the host process.
+ //
+ // After this is invoked, the host process will connect to the talk
+ // network and start listening for incoming connections.
//
// |shutdown_task| is called if Start() has failed ot Shutdown() is called
// and all related operations are completed.
@@ -70,7 +72,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// This method can only be called once during the lifetime of this object.
void Start(Task* shutdown_task);
- // This method is called when we need to destroy the host process.
+ // Asynchronously shutdown the host process.
void Shutdown();
// This method is called if a client is connected to this object.
@@ -104,13 +106,6 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
kStopped,
};
- // This method connects to the talk network and start listening for incoming
- // connections.
- void DoStart(Task* shutdown_task);
-
- // This method shuts down the host process.
- void DoShutdown();
-
// The context that the chromoting host runs on.
ChromotingHostContext* context_;
« no previous file with comments | « remoting/host/capturer.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698