Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Side by Side Diff: content/plugin/plugin_channel.h

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_child.gypi ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698