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_ |
brettw
2011/07/06 16:15:39
Update guards.
Jói
2011/07/06 16:38:57
This guard is already correct, but I will look (se
| |
10 #define CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ | 10 #define CHROME_BROWSER_DEBUGGER_EXTENSION_PORTS_REMOTE_SERVICE_H_ |
11 #pragma once | 11 #pragma once |
12 | 12 |
13 #include <set> | 13 #include <set> |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "chrome/browser/extensions/extension_message_service.h" | 18 #include "chrome/browser/extensions/extension_message_service.h" |
19 #include "content/browser/debugger/devtools_remote.h" | 19 #include "content/browser/debugger/devtools_remote.h" |
(...skipping 81 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 |