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

Side by Side Diff: chrome/browser/extensions/extension_message_service.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_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/linked_ptr.h" 12 #include "base/linked_ptr.h"
13 #include "base/lock.h" 13 #include "base/lock.h"
14 #include "base/ref_counted.h" 14 #include "base/ref_counted.h"
15 #include "chrome/common/ipc_message.h"
16 #include "chrome/common/notification_registrar.h" 15 #include "chrome/common/notification_registrar.h"
16 #include "ipc/ipc_message.h"
17 17
18 class MessageLoop; 18 class MessageLoop;
19 class Profile; 19 class Profile;
20 class RenderProcessHost; 20 class RenderProcessHost;
21 class ResourceMessageFilter; 21 class ResourceMessageFilter;
22 class URLRequestContext; 22 class URLRequestContext;
23 23
24 // This class manages message and event passing between renderer processes. 24 // This class manages message and event passing between renderer processes.
25 // It maintains a list of processes that are listening to events and a set of 25 // It maintains a list of processes that are listening to events and a set of
26 // open channels. 26 // open channels.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 int next_port_id_; 166 int next_port_id_;
167 167
168 // Protects the next_port_id_ variable, since it can be 168 // Protects the next_port_id_ variable, since it can be
169 // used on the IO thread or the UI thread. 169 // used on the IO thread or the UI thread.
170 Lock next_port_id_lock_; 170 Lock next_port_id_lock_;
171 171
172 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageService); 172 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageService);
173 }; 173 };
174 174
175 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ 175 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/extension_port_container.h ('k') | chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698