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

Unified Diff: content/plugin/plugin_channel.h

Issue 17208003: Track NPObject ownership by the originating plugins' NPP identifier. [4/6] (Chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove DCHECKs on proxy and stub maps. Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_plugin.gypi ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_channel.h
diff --git a/content/plugin/plugin_channel.h b/content/plugin/plugin_channel.h
index 7860a17ea8d24fdced90b6559646d2f0096e43ca..581a3ee43211daf17256e99238f05ea10d0895cd 100644
--- a/content/plugin/plugin_channel.h
+++ b/content/plugin/plugin_channel.h
@@ -92,6 +92,10 @@ class PluginChannel : public NPChannelBase {
bool incognito_; // True if the renderer is in incognito mode.
scoped_refptr<MessageFilter> filter_; // Handles the modal dialog events.
+ // Dummy NPP value used in the plugin process to represent entities other
+ // that other plugin instances for the purpose of object ownership tracking.
+ scoped_ptr<struct _NPP> npp_;
+
DISALLOW_COPY_AND_ASSIGN(PluginChannel);
};
« no previous file with comments | « content/content_plugin.gypi ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698