| 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 <vector> | 8 #include <vector> |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_handle.h" | 10 #include "base/memory/scoped_handle.h" |
| 11 #include "base/process.h" | 11 #include "base/process.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "content/common/np_channel_base.h" | 13 #include "content/common_child/np_channel_base.h" |
| 14 #include "content/plugin/webplugin_delegate_stub.h" | 14 #include "content/plugin/webplugin_delegate_stub.h" |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class WaitableEvent; | 17 class WaitableEvent; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 // Encapsulates an IPC channel between the plugin process and one renderer | 22 // Encapsulates an IPC channel between the plugin process and one renderer |
| 23 // process. On the renderer side there's a corresponding PluginChannelHost. | 23 // process. On the renderer side there's a corresponding PluginChannelHost. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 bool log_messages_; // True if we should log sent and received messages. | 91 bool log_messages_; // True if we should log sent and received messages. |
| 92 bool incognito_; // True if the renderer is in incognito mode. | 92 bool incognito_; // True if the renderer is in incognito mode. |
| 93 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. | 93 scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events. |
| 94 | 94 |
| 95 DISALLOW_COPY_AND_ASSIGN(PluginChannel); | 95 DISALLOW_COPY_AND_ASSIGN(PluginChannel); |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace content | 98 } // namespace content |
| 99 | 99 |
| 100 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 100 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
| OLD | NEW |