| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 5 #ifndef CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
| 6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 6 #define CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 ScopedChildProcessReference process_ref_; | 92 ScopedChildProcessReference process_ref_; |
| 93 | 93 |
| 94 // The id of the renderer who is on the other side of the channel. | 94 // The id of the renderer who is on the other side of the channel. |
| 95 int renderer_id_; | 95 int renderer_id_; |
| 96 | 96 |
| 97 int in_send_; // Tracks if we're in a Send call. | 97 int in_send_; // Tracks if we're in a Send call. |
| 98 bool log_messages_; // True if we should log sent and received messages. | 98 bool log_messages_; // True if we should log sent and received messages. |
| 99 bool incognito_; // True if the renderer is in incognito mode. | 99 bool incognito_; // True if the renderer is in incognito mode. |
| 100 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. | 100 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. |
| 101 | 101 |
| 102 // Dummy NPP value used in the plugin process to represent entities other | |
| 103 // that other plugin instances for the purpose of object ownership tracking. | |
| 104 scoped_ptr<struct _NPP> npp_; | |
| 105 | |
| 106 DISALLOW_COPY_AND_ASSIGN(PluginChannel); | 102 DISALLOW_COPY_AND_ASSIGN(PluginChannel); |
| 107 }; | 103 }; |
| 108 | 104 |
| 109 } // namespace content | 105 } // namespace content |
| 110 | 106 |
| 111 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 107 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
| OLD | NEW |