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

Side by Side Diff: content/common/child_process_host_impl.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
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_HOST_IMPL_H_ 5 #ifndef CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/shared_memory.h" 16 #include "base/memory/shared_memory.h"
17 #include "base/memory/singleton.h" 17 #include "base/memory/singleton.h"
18 #include "base/process/process.h" 18 #include "base/process/process.h"
19 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
20 #include "build/build_config.h" 20 #include "build/build_config.h"
21 #include "content/public/common/child_process_host.h" 21 #include "content/public/common/child_process_host.h"
22 #include "ipc/ipc_listener.h" 22 #include "ipc/ipc_listener.h"
23 23
24 namespace IPC { 24 namespace IPC {
25 class MessageFilter; 25 class MessageFilter;
26 } 26 }
27 27
28 namespace gpu {
29 struct SyncToken;
30 }
31
32 namespace content { 28 namespace content {
33 class ChildProcessHostDelegate; 29 class ChildProcessHostDelegate;
34 30
35 // Provides common functionality for hosting a child process and processing IPC 31 // Provides common functionality for hosting a child process and processing IPC
36 // messages between the host and the child process. Users are responsible 32 // messages between the host and the child process. Users are responsible
37 // for the actual launching and terminating of the child processes. 33 // for the actual launching and terminating of the child processes.
38 class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost, 34 class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost,
39 public IPC::Listener { 35 public IPC::Listener {
40 public: 36 public:
41 ~ChildProcessHostImpl() override; 37 ~ChildProcessHostImpl() override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // thread, we don't have a IPC::ChannelProxy and so we manage filters 98 // thread, we don't have a IPC::ChannelProxy and so we manage filters
103 // manually. 99 // manually.
104 std::vector<scoped_refptr<IPC::MessageFilter> > filters_; 100 std::vector<scoped_refptr<IPC::MessageFilter> > filters_;
105 101
106 DISALLOW_COPY_AND_ASSIGN(ChildProcessHostImpl); 102 DISALLOW_COPY_AND_ASSIGN(ChildProcessHostImpl);
107 }; 103 };
108 104
109 } // namespace content 105 } // namespace content
110 106
111 #endif // CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_ 107 #endif // CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/notifications/notification_manager.h ('k') | content/common/indexed_db/indexed_db_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698