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

Side by Side Diff: content/child/child_process.h

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 | « content/child/child_histogram_message_filter.cc ('k') | content/child/child_process.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) 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_COMMON_CHILD_PROCESS_H_ 5 #ifndef CONTENT_CHILD_CHILD_PROCESS_H_
6 #define CONTENT_COMMON_CHILD_PROCESS_H_ 6 #define CONTENT_CHILD_CHILD_PROCESS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.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/threading/thread.h" 11 #include "base/threading/thread.h"
11 #include "base/synchronization/waitable_event.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 ChildThread; 15 class ChildThread;
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.
19 class CONTENT_EXPORT ChildProcess { 19 class CONTENT_EXPORT ChildProcess {
20 public: 20 public:
21 // Child processes should have an object that derives from this class. 21 // Child processes should have an object that derives from this class.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // NOTE: make sure that main_thread_ is listed after shutdown_event_, since 69 // NOTE: make sure that main_thread_ is listed after shutdown_event_, since
70 // it depends on it (indirectly through IPC::SyncChannel). Same for 70 // it depends on it (indirectly through IPC::SyncChannel). Same for
71 // io_thread_. 71 // io_thread_.
72 scoped_ptr<ChildThread> main_thread_; 72 scoped_ptr<ChildThread> main_thread_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(ChildProcess); 74 DISALLOW_COPY_AND_ASSIGN(ChildProcess);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_COMMON_CHILD_PROCESS_H_ 79 #endif // CONTENT_CHILD_CHILD_PROCESS_H_
OLDNEW
« no previous file with comments | « content/child/child_histogram_message_filter.cc ('k') | content/child/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698