FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
BrowserStreamPtr FB::BrowserHost::createUnsolicitedStream ( const BrowserStreamRequest req) const
virtual

Used internally to create a BrowserStream to handle an unsolicited NPP_NewStream.

You should never call this directly. Currently only supported by NPAPI browsers

Parameters
urlBrowserStream
Returns
BrowserStream object
Since
1.7.0
See Also
FB::BrowserStreamRequest

Definition at line 391 of file BrowserHost.cpp.

392 {
394  FB::BrowserStreamPtr ptr(_createUnsolicitedStream(req));
395  if (ptr) {
396  m_streamMgr->retainStream(ptr);
397  }
398  return ptr;
399 }
void assertMainThread() const
When running in debug mode, asserts that the call is made on the main thread.