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

Unified Diff: remoting/host/chromoting_host.h

Issue 6266010: Fix crashes in ChromotingHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 9 years, 11 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/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 bc470e7b98808ab0a0c4fc9509ddd782d2a42930..1a3aa07ec5eac98632ecbc50fa3d5891e773bdee 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -64,13 +64,14 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
public protocol::ConnectionToClient::EventHandler,
public JingleClient::Callback {
public:
- // Factory methods that must be used to create ChromotingHost
- // instances. Default capturer is used if it is not specified.
+ // Factory methods that must be used to create ChromotingHost instances.
+ // Default capturer and input stub are used if it is not specified.
static ChromotingHost* Create(ChromotingHostContext* context,
MutableHostConfig* config);
static ChromotingHost* Create(ChromotingHostContext* context,
MutableHostConfig* config,
- Capturer* capturer);
+ Capturer* capturer,
+ protocol::InputStub* input_stub);
// Asynchronously start the host process.
//
@@ -114,7 +115,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
private:
friend class base::RefCountedThreadSafe<ChromotingHost>;
ChromotingHost(ChromotingHostContext* context, MutableHostConfig* config,
- Capturer* capturer);
+ Capturer* capturer, protocol::InputStub* input_stub);
virtual ~ChromotingHost();
enum State {
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698