| Index: remoting/host/chromoting_host_context_unittest.cc
|
| ===================================================================
|
| --- remoting/host/chromoting_host_context_unittest.cc (revision 96983)
|
| +++ remoting/host/chromoting_host_context_unittest.cc (working copy)
|
| @@ -3,7 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/message_loop.h"
|
| -#include "base/message_loop_proxy.h"
|
| #include "remoting/host/chromoting_host_context.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -12,10 +11,7 @@
|
| // A simple test that starts and stop the context. This tests the context
|
| // operates properly and all threads and message loops are valid.
|
| TEST(ChromotingHostContextTest, StartAndStop) {
|
| - MessageLoop message_loop;
|
| - ChromotingHostContext context(
|
| - base::MessageLoopProxy::CreateForCurrentThread());
|
| -
|
| + ChromotingHostContext context;
|
| context.Start();
|
| EXPECT_TRUE(context.jingle_thread());
|
| EXPECT_TRUE(context.main_message_loop());
|
|
|