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_RENDERER_PLUGIN_CHANNEL_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ |
6 #define CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ | 6 #define CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
10 #include "content/common/np_channel_base.h" | 9 #include "content/common/np_channel_base.h" |
11 #include "ipc/ipc_channel_handle.h" | 10 #include "ipc/ipc_channel_handle.h" |
12 | 11 |
13 class IsListeningFilter; | 12 class IsListeningFilter; |
14 class NPObjectBase; | 13 class NPObjectBase; |
15 | 14 |
16 // Encapsulates an IPC channel between the renderer and one plugin process. | 15 // Encapsulates an IPC channel between the renderer and one plugin process. |
17 // On the plugin side there's a corresponding PluginChannel. | 16 // On the plugin side there's a corresponding PluginChannel. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_refptr<IsListeningFilter> is_listening_filter_; | 72 scoped_refptr<IsListeningFilter> is_listening_filter_; |
74 | 73 |
75 // True if we are expecting the plugin process to go away - in which case, | 74 // True if we are expecting the plugin process to go away - in which case, |
76 // don't treat it as a crash. | 75 // don't treat it as a crash. |
77 bool expecting_shutdown_; | 76 bool expecting_shutdown_; |
78 | 77 |
79 DISALLOW_COPY_AND_ASSIGN(PluginChannelHost); | 78 DISALLOW_COPY_AND_ASSIGN(PluginChannelHost); |
80 }; | 79 }; |
81 | 80 |
82 #endif // CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ | 81 #endif // CONTENT_RENDERER_PLUGIN_CHANNEL_HOST_H_ |
OLD | NEW |