OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_RENDERER_PLUGIN_CHANNEL_HOST_H_ | 5 #ifndef CHROME_RENDERER_PLUGIN_CHANNEL_HOST_H_ |
6 #define CHROME_RENDERER_PLUGIN_CHANNEL_HOST_H_ | 6 #define CHROME_RENDERER_PLUGIN_CHANNEL_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "chrome/plugin/plugin_channel_base.h" | 10 #include "content/plugin/plugin_channel_base.h" |
11 #include "ipc/ipc_channel_handle.h" | 11 #include "ipc/ipc_channel_handle.h" |
12 | 12 |
13 class IsListeningFilter; | 13 class IsListeningFilter; |
14 class NPObjectBase; | 14 class NPObjectBase; |
15 | 15 |
16 // Encapsulates an IPC channel between the renderer and one plugin process. | 16 // Encapsulates an IPC channel between the renderer and one plugin process. |
17 // On the plugin side there's a corresponding PluginChannel. | 17 // On the plugin side there's a corresponding PluginChannel. |
18 class PluginChannelHost : public PluginChannelBase { | 18 class PluginChannelHost : public PluginChannelBase { |
19 public: | 19 public: |
20 static PluginChannelHost* GetPluginChannelHost( | 20 static PluginChannelHost* GetPluginChannelHost( |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 scoped_refptr<IsListeningFilter> is_listening_filter_; | 62 scoped_refptr<IsListeningFilter> is_listening_filter_; |
63 | 63 |
64 // True if we are expecting the plugin process to go away - in which case, | 64 // True if we are expecting the plugin process to go away - in which case, |
65 // don't treat it as a crash. | 65 // don't treat it as a crash. |
66 bool expecting_shutdown_; | 66 bool expecting_shutdown_; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(PluginChannelHost); | 68 DISALLOW_COPY_AND_ASSIGN(PluginChannelHost); |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_RENDERER_PLUGIN_CHANNEL_HOST_H_ | 71 #endif // CHROME_RENDERER_PLUGIN_CHANNEL_HOST_H_ |
OLD | NEW |