OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/desktop_process.h" | 5 #include "remoting/host/desktop_process.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
15 #include "ipc/ipc_channel_proxy.h" | 15 #include "ipc/ipc_channel_proxy.h" |
16 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
18 #include "remoting/base/auto_thread.h" | 18 #include "remoting/base/auto_thread.h" |
19 #include "remoting/base/auto_thread_task_runner.h" | 19 #include "remoting/base/auto_thread_task_runner.h" |
20 #include "remoting/host/chromoting_messages.h" | 20 #include "remoting/host/chromoting_messages.h" |
21 #include "remoting/host/desktop_process.h" | 21 #include "remoting/host/desktop_process.h" |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 } | 338 } |
339 | 339 |
340 // Run the desktop process and ask it to crash. | 340 // Run the desktop process and ask it to crash. |
341 TEST_F(DesktopProcessTest, DeathTest) { | 341 TEST_F(DesktopProcessTest, DeathTest) { |
342 testing::GTEST_FLAG(death_test_style) = "threadsafe"; | 342 testing::GTEST_FLAG(death_test_style) = "threadsafe"; |
343 | 343 |
344 EXPECT_DEATH(RunDeathTest(), ""); | 344 EXPECT_DEATH(RunDeathTest(), ""); |
345 } | 345 } |
346 | 346 |
347 } // namespace remoting | 347 } // namespace remoting |
OLD | NEW |