diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-16 18:20:59 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-16 18:20:59 +0000 |
commit | c47566d1a86aec6fe5f6846015f6e6141148708b (patch) | |
tree | e36237607660b6897d3b56fc88d4f8f0fb00fdbd /remoting/host/host_mock_objects.cc | |
parent | 3b1eb087df251521c8d96c64aa84613c18cc114c (diff) | |
download | chromium_src-c47566d1a86aec6fe5f6846015f6e6141148708b.zip chromium_src-c47566d1a86aec6fe5f6846015f6e6141148708b.tar.gz chromium_src-c47566d1a86aec6fe5f6846015f6e6141148708b.tar.bz2 |
Add PluginMessageLoopProxy and use it for Host plugin UI thread.
The new class will also be used in the client plugin for the main plugin thread.
BUG=None
TEST=Everything works.
Review URL: http://codereview.chromium.org/7635030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_mock_objects.cc')
-rw-r--r-- | remoting/host/host_mock_objects.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc index de0ea97..168e3e8 100644 --- a/remoting/host/host_mock_objects.cc +++ b/remoting/host/host_mock_objects.cc @@ -4,6 +4,8 @@ #include "remoting/host/host_mock_objects.h" +#include "base/message_loop_proxy.h" + namespace remoting { MockCapturer::MockCapturer() {} @@ -46,7 +48,9 @@ LocalInputMonitor* LocalInputMonitor::Create() { return new MockLocalInputMonitor(); } -MockChromotingHostContext::MockChromotingHostContext() {} +MockChromotingHostContext::MockChromotingHostContext() + : ChromotingHostContext(base::MessageLoopProxy::CreateForCurrentThread()) { +} MockChromotingHostContext::~MockChromotingHostContext() {} |