Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: chrome/common/child_process.cc

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/child_process.h ('k') | chrome/common/chrome_plugin_lib.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/common/child_process.h" 5 #include "chrome/common/child_process.h"
6 6
7 #if defined(OS_POSIX) 7 #if defined(OS_POSIX)
8 #include <signal.h> // For SigUSR1Handler below. 8 #include <signal.h> // For SigUSR1Handler below.
9 #endif 9 #endif
10 10
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/thread.h" 14 #include "base/threading/thread.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "chrome/common/child_thread.h" 16 #include "chrome/common/child_thread.h"
17 #include "grit/chromium_strings.h" 17 #include "grit/chromium_strings.h"
18 18
19 #if defined(OS_POSIX) 19 #if defined(OS_POSIX)
20 static void SigUSR1Handler(int signal) { } 20 static void SigUSR1Handler(int signal) { }
21 #endif 21 #endif
22 22
23 ChildProcess* ChildProcess::child_process_; 23 ChildProcess* ChildProcess::child_process_;
24 24
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 << ") paused waiting for debugger to attach @ pid"; 103 << ") paused waiting for debugger to attach @ pid";
104 // Install a signal handler so that pause can be woken. 104 // Install a signal handler so that pause can be woken.
105 struct sigaction sa; 105 struct sigaction sa;
106 memset(&sa, 0, sizeof(sa)); 106 memset(&sa, 0, sizeof(sa));
107 sa.sa_handler = SigUSR1Handler; 107 sa.sa_handler = SigUSR1Handler;
108 sigaction(SIGUSR1, &sa, NULL); 108 sigaction(SIGUSR1, &sa, NULL);
109 109
110 pause(); 110 pause();
111 #endif // defined(OS_POSIX) 111 #endif // defined(OS_POSIX)
112 } 112 }
OLDNEW
« no previous file with comments | « chrome/common/child_process.h ('k') | chrome/common/chrome_plugin_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698