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

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

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_COMMON_CHILD_PROCESS_HOST_H_
6 #define CHROME_COMMON_CHILD_PROCESS_HOST_H_ 6 #define CHROME_COMMON_CHILD_PROCESS_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 13 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
14 #include "chrome/common/ipc_channel.h" 14 #include "ipc/ipc_channel.h"
15 15
16 class NotificationType; 16 class NotificationType;
17 17
18 // Plugins/workers and other child processes that live on the IO thread should 18 // Plugins/workers and other child processes that live on the IO thread should
19 // derive from this class. 19 // derive from this class.
20 class ChildProcessHost : public ResourceDispatcherHost::Receiver, 20 class ChildProcessHost : public ResourceDispatcherHost::Receiver,
21 public IPC::Channel::Listener { 21 public IPC::Channel::Listener {
22 public: 22 public:
23 virtual ~ChildProcessHost(); 23 virtual ~ChildProcessHost();
24 24
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool opening_channel_; 100 bool opening_channel_;
101 101
102 // The IPC::Channel. 102 // The IPC::Channel.
103 scoped_ptr<IPC::Channel> channel_; 103 scoped_ptr<IPC::Channel> channel_;
104 104
105 // IPC Channel's id. 105 // IPC Channel's id.
106 std::string channel_id_; 106 std::string channel_id_;
107 }; 107 };
108 108
109 #endif // CHROME_COMMON_CHILD_PROCESS_HOST_H_ 109 #endif // CHROME_COMMON_CHILD_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/common/app_cache/app_cache_dispatcher_host.h ('k') | chrome/common/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698