Home | History | Annotate | Download | only in npapi

Lines Matching refs:NPObject

28 struct hash<NPObject*> {
29 std::size_t operator()(NPObject* const& ptr) const {
46 inline size_t hash_value(NPObject* const& ptr) {
64 // npobject). These are also called by NPObjectProxy and NPObjectStub (which
65 // pass themselves for npobject). However the latter don't control the
66 // lifetime of this object because we don't want a leak of an NPObject to
68 void AddRoute(int route_id, IPC::Listener* listener, NPObjectBase* npobject);
71 void AddMappingForNPObjectProxy(int route_id, NPObject* object);
74 void AddMappingForNPObjectStub(int route_id, NPObject* object);
75 void RemoveMappingForNPObjectStub(int route_id, NPObject* object);
81 NPObject* GetExistingNPObjectProxy(int route_id);
82 int GetExistingRouteForNPObjectStub(NPObject* npobject);
92 // Returns the number of open NPObject channels in this process.
165 // This tracks the number of routes registered without an NPObject. It's used
179 typedef base::hash_map<int, NPObject*> ProxyMap;
182 typedef base::hash_map<NPObject*, int> StubMap;