electron/atom
Cheng Zhao d3ae541397 refactor: Clean up the implementation of the registerStreamProtocol (#11357)
* Use weak pointer to avoid race condition

* Use DeleteSoon to delete pointer across threads

* Simplify EventSubscriber

* No need to manually mange V8 convertions

* Fix cpplint warning

We should update cpplint for this, but let's do it in other PR.

* Move UI thread operations to EventSubscriber

* Less and more assertions

Some methods are now private so no more need to assert threads.

* Fix cpplint warnings

* No longer needs the EventEmitted

* EventSubscriber => StreamSubscriber

* Reduce the copies when passing data

* Fix cpplint warnings
2018-10-04 10:13:09 -04:00
..
app DrainBackgroundTasks -> DrainTasks 2018-10-04 00:13:37 +02:00
browser refactor: Clean up the implementation of the registerStreamProtocol (#11357) 2018-10-04 10:13:09 -04:00
common refactor: Clean up the implementation of the registerStreamProtocol (#11357) 2018-10-04 10:13:09 -04:00
node also format missing .cc files 2018-04-18 20:48:45 -04:00
renderer ExecuteScriptInIsolatedWorld is single-script only 2018-10-04 00:12:54 +02:00
utility also format missing .cc files 2018-04-18 20:48:45 -04:00