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

Side by Side Diff: content/zygote/zygote_linux.h

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | no next file » | 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) 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 CONTENT_ZYGOTE_ZYGOTE_LINUX_H_ 5 #ifndef CONTENT_ZYGOTE_ZYGOTE_LINUX_H_
6 #define CONTENT_ZYGOTE_ZYGOTE_LINUX_H_ 6 #define CONTENT_ZYGOTE_ZYGOTE_LINUX_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/containers/small_map.h" 13 #include "base/containers/small_map.h"
14 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
15 #include "base/memory/scoped_vector.h" 15 #include "base/memory/scoped_vector.h"
16 #include "base/posix/global_descriptors.h" 16 #include "base/posix/global_descriptors.h"
17 #include "base/process/kill.h" 17 #include "base/process/kill.h"
18 #include "base/process/process.h" 18 #include "base/process/process.h"
19 #include "base/process/process_handle.h" 19 #include "base/process/process_handle.h"
20 #include "base/time/time.h" 20 #include "base/time/time.h"
21 21
22 namespace base { 22 namespace base {
23 class Pickle;
24 class PickleIterator; 23 class PickleIterator;
25 } 24 }
26 25
27 namespace content { 26 namespace content {
28 27
29 class ZygoteForkDelegate; 28 class ZygoteForkDelegate;
30 29
31 // This is the object which implements the zygote. The ZygoteMain function, 30 // This is the object which implements the zygote. The ZygoteMain function,
32 // which is called from ChromeMain, simply constructs one of these objects and 31 // which is called from ChromeMain, simply constructs one of these objects and
33 // runs it. 32 // runs it.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // children. 151 // children.
153 std::vector<int> extra_fds_; 152 std::vector<int> extra_fds_;
154 153
155 // The vector contains the child processes that need to be reaped. 154 // The vector contains the child processes that need to be reaped.
156 std::vector<ZygoteProcessInfo> to_reap_; 155 std::vector<ZygoteProcessInfo> to_reap_;
157 }; 156 };
158 157
159 } // namespace content 158 } // namespace content
160 159
161 #endif // CONTENT_ZYGOTE_ZYGOTE_LINUX_H_ 160 #endif // CONTENT_ZYGOTE_ZYGOTE_LINUX_H_
OLDNEW
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698