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

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

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2011 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 CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_ 5 #ifndef CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_
6 #define CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_ 6 #define CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ipc/ipc_channel_proxy.h" 11 #include "ipc/ipc_channel_proxy.h"
12 12
13 class FilePath; 13 class FilePath;
14 14
15 namespace content { 15 namespace content {
16 16
17 class ChildProcessHostDelegate; 17 class ChildProcessHostDelegate;
18 18
19 // This represents a non-browser process. This can include traditional child 19 // This represents a non-browser process. This can include traditional child
20 // processes like plugins, or an embedder could even use this for long lived 20 // processes like plugins, or an embedder could even use this for long lived
21 // processes that run independent of the browser process. 21 // processes that run independent of the browser process.
22 class CONTENT_EXPORT ChildProcessHost : public IPC::Message::Sender { 22 class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
23 public: 23 public:
24 virtual ~ChildProcessHost() {} 24 virtual ~ChildProcessHost() {}
25 25
26 // Used to create a child process host. The delegate must outlive this object. 26 // Used to create a child process host. The delegate must outlive this object.
27 static ChildProcessHost* Create( 27 static ChildProcessHost* Create(
28 ChildProcessHostDelegate* delegate); 28 ChildProcessHostDelegate* delegate);
29 29
30 // These flags may be passed to GetChildPath in order to alter its behavior, 30 // These flags may be passed to GetChildPath in order to alter its behavior,
31 // causing it to return a child path more suited to a specific task. 31 // causing it to return a child path more suited to a specific task.
32 enum { 32 enum {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 #if defined(OS_POSIX) 91 #if defined(OS_POSIX)
92 // See IPC::Channel::TakeClientFileDescriptor. 92 // See IPC::Channel::TakeClientFileDescriptor.
93 virtual int TakeClientFileDescriptor() = 0; 93 virtual int TakeClientFileDescriptor() = 0;
94 #endif 94 #endif
95 }; 95 };
96 96
97 }; // namespace content 97 }; // namespace content
98 98
99 #endif // CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_ 99 #endif // CONTENT_PULIC_COMMON_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_observer.h ('k') | content/public/common/child_process_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698