electron/atom/browser/net
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
..
asar fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
about_protocol_handler.cc add about: protocol handler 2016-11-09 13:22:58 +05:30
about_protocol_handler.h add about: protocol handler 2016-11-09 13:22:58 +05:30
atom_cert_verifier.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
atom_cert_verifier.h [chromium-style] out-of-line default constructors and destructors 2018-04-19 11:12:58 -07:00
atom_network_delegate.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
atom_network_delegate.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
atom_url_request.cc chore: run clang-format 2018-09-19 17:18:10 +02:00
atom_url_request.h chore: run clang-format 2018-09-19 17:18:10 +02:00
atom_url_request_job_factory.cc Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear (#13956)" 2018-08-13 16:16:04 -07:00
atom_url_request_job_factory.h Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear (#13956)" 2018-08-13 16:16:04 -07:00
cookie_details.h Cookie Store: Extract change notifications to separate classes. 2018-06-19 11:49:40 +10:00
http_protocol_handler.cc Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear (#13956)" 2018-08-13 16:16:04 -07:00
http_protocol_handler.h Revert "[WIP] refactor: (Part I) make the ownership of URLRequestContextGetter more clear (#13956)" 2018-08-13 16:16:04 -07:00
js_asker.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
js_asker.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_about_job.cc Part I: Move from base::Bind to base::BindOnce and remove unneeded base::Passed (#12661) 2018-04-20 19:55:05 +09:00
url_request_about_job.h add about: protocol handler 2016-11-09 13:22:58 +05:30
url_request_async_asar_job.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_async_asar_job.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_buffer_job.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_buffer_job.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_fetch_job.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_fetch_job.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_stream_job.cc refactor: Clean up the implementation of the registerStreamProtocol (#11357) 2018-10-04 10:13:09 -04:00
url_request_stream_job.h refactor: Clean up the implementation of the registerStreamProtocol (#11357) 2018-10-04 10:13:09 -04:00
url_request_string_job.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
url_request_string_job.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00