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 <gtest/gtest.h> | 5 #include <gtest/gtest.h> |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <sys/wait.h> | 8 #include <sys/wait.h> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/eintr_wrapper.h" | |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 13 #include "base/posix/eintr_wrapper.h" |
14 #include "base/process_util.h" | 14 #include "base/process_util.h" |
15 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "chrome/browser/chromeos/process_proxy/process_proxy_registry.h" | 17 #include "chrome/browser/chromeos/process_proxy/process_proxy_registry.h" |
18 #include "chrome/test/base/in_process_browser_test.h" | 18 #include "chrome/test/base/in_process_browser_test.h" |
19 #include "chrome/test/base/ui_test_utils.h" | 19 #include "chrome/test/base/ui_test_utils.h" |
20 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
21 | 21 |
22 using content::BrowserThread; | 22 using content::BrowserThread; |
23 | 23 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 test_runner_.reset(new RegistryNotifiedOnProcessExitTestRunner()); | 244 test_runner_.reset(new RegistryNotifiedOnProcessExitTestRunner()); |
245 RunTest(); | 245 RunTest(); |
246 } | 246 } |
247 | 247 |
248 // Test verifies that \003 message send to process is processed as SigInt. | 248 // Test verifies that \003 message send to process is processed as SigInt. |
249 // Timing out on the waterfall: http://crbug.com/115064 | 249 // Timing out on the waterfall: http://crbug.com/115064 |
250 IN_PROC_BROWSER_TEST_F(ProcessProxyTest, DISABLED_SigInt) { | 250 IN_PROC_BROWSER_TEST_F(ProcessProxyTest, DISABLED_SigInt) { |
251 test_runner_.reset(new SigIntTestRunner()); | 251 test_runner_.reset(new SigIntTestRunner()); |
252 RunTest(); | 252 RunTest(); |
253 } | 253 } |
OLD | NEW |