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 #ifndef CHROMEOS_PROCESS_PROXY_PROCESS_PROXY_H_ | 5 #ifndef CHROMEOS_PROCESS_PROXY_PROCESS_PROXY_H_ |
6 #define CHROMEOS_PROCESS_PROXY_PROCESS_PROXY_H_ | 6 #define CHROMEOS_PROCESS_PROXY_PROCESS_PROXY_H_ |
7 | 7 |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
9 #include <signal.h> | 9 #include <signal.h> |
10 | 10 |
11 #include <cstdio> | 11 #include <cstdio> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" |
16 #include "chromeos/process_proxy/process_output_watcher.h" | 17 #include "chromeos/process_proxy/process_output_watcher.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class Process; | 20 class Process; |
20 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
21 class TaskRunner; | 22 class TaskRunner; |
22 } // namespace base | 23 } // namespace base |
23 | 24 |
24 namespace chromeos { | 25 namespace chromeos { |
25 class ProcessOutputWatcher; | 26 class ProcessOutputWatcher; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 scoped_ptr<base::Process> process_; | 111 scoped_ptr<base::Process> process_; |
111 | 112 |
112 int pt_pair_[2]; | 113 int pt_pair_[2]; |
113 | 114 |
114 DISALLOW_COPY_AND_ASSIGN(ProcessProxy); | 115 DISALLOW_COPY_AND_ASSIGN(ProcessProxy); |
115 }; | 116 }; |
116 | 117 |
117 } // namespace chromeos | 118 } // namespace chromeos |
118 | 119 |
119 #endif // CHROMEOS_PROCESS_PROXY_PROCESS_PROXY_H_ | 120 #endif // CHROMEOS_PROCESS_PROXY_PROCESS_PROXY_H_ |
OLD | NEW |