Index: remoting/host/event_executor.h |
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h |
index 6051b362a3eb7656224330f39b16f80ea0a90524..0616c5176ac83924a5d40826a289adbe14fd2abe 100644 |
--- a/remoting/host/event_executor.h |
+++ b/remoting/host/event_executor.h |
@@ -5,6 +5,8 @@ |
#ifndef REMOTING_HOST_EVENT_EXECUTOR_H_ |
#define REMOTING_HOST_EVENT_EXECUTOR_H_ |
+#include "base/memory/scoped_ptr.h" |
+ |
#include "remoting/protocol/input_stub.h" |
class MessageLoop; |
@@ -17,8 +19,8 @@ class EventExecutor : public protocol::InputStub { |
public: |
// Creates default event executor for the current platform. |
// Does not take ownership of |message_loop| or |capturer|. |
- static EventExecutor* Create(MessageLoop* message_loop, |
- Capturer* capturer); |
+ static scoped_ptr<protocol::InputStub> Create(MessageLoop* message_loop, |
+ Capturer* capturer); |
}; |
} // namespace remoting |