summaryrefslogtreecommitdiffstats
path: root/remoting/host/event_executor.h
blob: 3acde7aa00794129d60eb143272e8cbce9fa48dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_EVENT_EXECUTOR_H_
#define REMOTING_HOST_EVENT_EXECUTOR_H_

#include "base/memory/scoped_ptr.h"
#include "remoting/protocol/host_event_stub.h"

class MessageLoop;

namespace remoting {

class Capturer;

class EventExecutor : public protocol::HostEventStub {
 public:
  // Creates default event executor for the current platform.
  static scoped_ptr<protocol::HostEventStub> Create(MessageLoop* message_loop,
                                                    Capturer* capturer);
};

}  // namespace remoting

#endif  // REMOTING_HOST_EVENT_EXECUTOR_H_