OLD | NEW |
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 // ExtensionsPorts service: wires extension message ports through the | 5 // ExtensionsPorts service: wires extension message ports through the |
6 // devtools remote protocol, allowing an external client program to | 6 // devtools remote protocol, allowing an external client program to |
7 // exchange messages with Chrome extensions. | 7 // exchange messages with Chrome extensions. |
8 | 8 |
9 #ifndef CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ | 9 #ifndef CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ |
10 #define CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ | 10 #define CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Set of message port IDs we successfully opened. | 101 // Set of message port IDs we successfully opened. |
102 typedef std::set<int> PortIdSet; | 102 typedef std::set<int> PortIdSet; |
103 PortIdSet openPortIds_; | 103 PortIdSet openPortIds_; |
104 | 104 |
105 scoped_refptr<ExtensionMessageService> service_; | 105 scoped_refptr<ExtensionMessageService> service_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(ExtensionPortsRemoteService); | 107 DISALLOW_COPY_AND_ASSIGN(ExtensionPortsRemoteService); |
108 }; | 108 }; |
109 | 109 |
110 #endif // CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ | 110 #endif // CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ |
OLD | NEW |