OLD | NEW |
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_EXTENSION_PORT_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSION_PORT_CONTAINER_H_ |
6 #define CHROME_BROWSER_EXTENSION_PORT_CONTAINER_H_ | 6 #define CHROME_BROWSER_EXTENSION_PORT_CONTAINER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "chrome/common/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
13 | 13 |
14 class AutomationProvider; | 14 class AutomationProvider; |
15 class ExtensionMessageService; | 15 class ExtensionMessageService; |
16 class ListValue; | 16 class ListValue; |
17 class MessageLoop; | 17 class MessageLoop; |
18 class RenderViewHost; | 18 class RenderViewHost; |
19 | 19 |
20 // This class represents an external port to an extension, opened | 20 // This class represents an external port to an extension, opened |
21 // through the automation interface. | 21 // through the automation interface. |
22 class ExtensionPortContainer : public IPC::Message::Sender { | 22 class ExtensionPortContainer : public IPC::Message::Sender { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 // Our assigned port id. | 72 // Our assigned port id. |
73 int port_id_; | 73 int port_id_; |
74 // Handle to our associated tab. | 74 // Handle to our associated tab. |
75 int tab_handle_; | 75 int tab_handle_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(ExtensionPortContainer); | 77 DISALLOW_COPY_AND_ASSIGN(ExtensionPortContainer); |
78 }; | 78 }; |
79 | 79 |
80 #endif // CHROME_BROWSER_EXTENSION_PORT_CONTAINER_H_ | 80 #endif // CHROME_BROWSER_EXTENSION_PORT_CONTAINER_H_ |
OLD | NEW |