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" | |
11 #include "base/process/process.h" | 10 #include "base/process/process.h" |
12 #include "build/build_config.h" | 11 #include "build/build_config.h" |
13 #include "content/child/npapi/np_channel_base.h" | 12 #include "content/child/npapi/np_channel_base.h" |
14 #include "content/child/scoped_child_process_reference.h" | 13 #include "content/child/scoped_child_process_reference.h" |
15 #include "content/plugin/webplugin_delegate_stub.h" | 14 #include "content/plugin/webplugin_delegate_stub.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 class WaitableEvent; | 17 class WaitableEvent; |
19 } | 18 } |
20 | 19 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Dummy NPP value used in the plugin process to represent entities other | 98 // Dummy NPP value used in the plugin process to represent entities other |
100 // that other plugin instances for the purpose of object ownership tracking. | 99 // that other plugin instances for the purpose of object ownership tracking. |
101 scoped_ptr<struct _NPP> npp_; | 100 scoped_ptr<struct _NPP> npp_; |
102 | 101 |
103 DISALLOW_COPY_AND_ASSIGN(PluginChannel); | 102 DISALLOW_COPY_AND_ASSIGN(PluginChannel); |
104 }; | 103 }; |
105 | 104 |
106 } // namespace content | 105 } // namespace content |
107 | 106 |
108 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ | 107 #endif // CONTENT_PLUGIN_PLUGIN_CHANNEL_H_ |
OLD | NEW |