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 CONTENT_CHILD_CHILD_PROCESS_H_ | 5 #ifndef CONTENT_CHILD_CHILD_PROCESS_H_ |
6 #define CONTENT_CHILD_CHILD_PROCESS_H_ | 6 #define CONTENT_CHILD_CHILD_PROCESS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
11 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class ChildThreadImpl; | 15 class ChildThreadImpl; |
16 | 16 |
17 // Base class for child processes of the browser process (i.e. renderer and | 17 // Base class for child processes of the browser process (i.e. renderer and |
18 // plugin host). This is a singleton object for each child process. | 18 // plugin host). This is a singleton object for each child process. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // it depends on it (indirectly through IPC::SyncChannel). Same for | 82 // it depends on it (indirectly through IPC::SyncChannel). Same for |
83 // io_thread_. | 83 // io_thread_. |
84 scoped_ptr<ChildThreadImpl> main_thread_; | 84 scoped_ptr<ChildThreadImpl> main_thread_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(ChildProcess); | 86 DISALLOW_COPY_AND_ASSIGN(ChildProcess); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace content | 89 } // namespace content |
90 | 90 |
91 #endif // CONTENT_CHILD_CHILD_PROCESS_H_ | 91 #endif // CONTENT_CHILD_CHILD_PROCESS_H_ |
OLD | NEW |