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

Side by Side Diff: content/common/child_process_host.h

Issue 6612040: Move ChildProcessHost and ChildProcessInfo to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_CHILD_PROCESS_HOST_H_ 5 #ifndef CONTENT_COMMON_CHILD_PROCESS_HOST_H_
6 #define CHROME_COMMON_CHILD_PROCESS_HOST_H_ 6 #define CONTENT_COMMON_CHILD_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include <windows.h> 15 #include <windows.h>
16 #endif // defined(OS_WIN) 16 #endif // defined(OS_WIN)
17 17
18 #include "base/basictypes.h" 18 #include "base/basictypes.h"
19 #include "base/scoped_ptr.h" 19 #include "base/scoped_ptr.h"
20 #include "chrome/common/notification_type.h" 20 #include "content/common/notification_type.h"
21 #include "ipc/ipc_channel_proxy.h" 21 #include "ipc/ipc_channel_proxy.h"
22 22
23 class CommandLine; 23 class CommandLine;
24 class FilePath; 24 class FilePath;
25 25
26 namespace IPC { 26 namespace IPC {
27 class Message; 27 class Message;
28 } 28 }
29 29
30 // Provides common functionality for hosting a child process and processing IPC 30 // Provides common functionality for hosting a child process and processing IPC
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 std::string channel_id_; 116 std::string channel_id_;
117 117
118 // Holds all the IPC message filters. Since this object lives on the IO 118 // Holds all the IPC message filters. Since this object lives on the IO
119 // thread, we don't have a IPC::ChannelProxy and so we manage filters 119 // thread, we don't have a IPC::ChannelProxy and so we manage filters
120 // manually. 120 // manually.
121 std::vector<scoped_refptr<IPC::ChannelProxy::MessageFilter> > filters_; 121 std::vector<scoped_refptr<IPC::ChannelProxy::MessageFilter> > filters_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost); 123 DISALLOW_COPY_AND_ASSIGN(ChildProcessHost);
124 }; 124 };
125 125
126 #endif // CHROME_COMMON_CHILD_PROCESS_HOST_H_ 126 #endif // CONTENT_COMMON_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/resource_message_filter.h ('k') | content/common/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698