electron/atom/browser/net
Cheng Zhao 54cbe5f749
feat: migrate protocol module to NetworkService (Part 9) (#18374)
* Compare final data instead of url

The behavior of did-finish-load and getURL has changed for redirects when
using NetworkService, so the test fails for NetworkService.

Comparing the finally received data makes the test more reliable.

* Implement intercept APIs

* Setting mimeType should set "content-type" header

* Passing no argument should not throw JS error

* Don't access api namespace in ProxyingURLLoaderFactory

* No need to create AtomURLLoaderFactory every time

* No use of weak factory
2019-05-24 11:28:00 +09:00
..
asar feat: migrate protocol module to NetworkService (Part 7) (#18290) 2019-05-15 08:29:58 +09: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 chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
atom_cert_verifier.h Introduce explicit configuration to CertVerifier 2018-12-03 20:07:41 +05:30
atom_network_delegate.cc chore: bump chromium to 1e9f9a24aa12 (master) (#17880) 2019-04-20 10:20:37 -07:00
atom_network_delegate.h remove OnAreExperimentalCookieFeaturesEnabled 2019-01-22 10:32:03 -08:00
atom_url_loader_factory.cc feat: migrate protocol module to NetworkService (Part 9) (#18374) 2019-05-24 11:28:00 +09:00
atom_url_loader_factory.h feat: migrate protocol module to NetworkService (Part 9) (#18374) 2019-05-24 11:28:00 +09:00
atom_url_request.cc chore: bump chromium to 1e9f9a24aa12 (master) (#17880) 2019-04-20 10:20:37 -07:00
atom_url_request.h chore: bump chromium to 1e9f9a24aa12 (master) (#17880) 2019-04-20 10:20:37 -07:00
atom_url_request_job_factory.cc refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
atom_url_request_job_factory.h refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
cookie_details.h refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05: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 chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
js_asker.h chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
network_context_service.cc chore: enable_data_url_support does not exist anymore 2019-04-02 14:43:06 -07:00
network_context_service.h refactor: Enable network service (Part 1) (#17431) 2019-03-26 10:10:48 +09:00
network_context_service_factory.cc fix: allow creating service for temporary partitions (nws13n) (#17930) 2019-04-24 09:30:53 +09:00
network_context_service_factory.h fix: allow creating service for temporary partitions (nws13n) (#17930) 2019-04-24 09:30:53 +09:00
node_stream_loader.cc feat: migrate protocol module to NetworkService (Part 6) (#18223) 2019-05-11 15:15:01 +09:00
node_stream_loader.h feat: migrate protocol module to NetworkService (Part 6) (#18223) 2019-05-11 15:15:01 +09:00
proxying_url_loader_factory.cc feat: migrate protocol module to NetworkService (Part 9) (#18374) 2019-05-24 11:28:00 +09:00
proxying_url_loader_factory.h feat: migrate protocol module to NetworkService (Part 9) (#18374) 2019-05-24 11:28:00 +09:00
require_ct_delegate.cc refactor: move media/net from brightray to atom (#15288) 2018-10-19 14:51:43 -04:00
require_ct_delegate.h refactor: move media/net from brightray to atom (#15288) 2018-10-19 14:51:43 -04:00
resolve_proxy_helper.cc chore: convert session base::Bind instances (#18038) 2019-05-01 13:45:08 -07:00
resolve_proxy_helper.h chore: convert session base::Bind instances (#18038) 2019-05-01 13:45:08 -07:00
system_network_context_manager.cc Update changed APIs/deps 2019-05-16 18:47:42 -07:00
system_network_context_manager.h refactor: Enable network service (Part 1) (#17431) 2019-03-26 10:10:48 +09: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 chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
url_request_async_asar_job.h feat: Support response headers in File protocol handler (#16098) 2018-12-18 23:17:02 -07:00
url_request_buffer_job.cc chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
url_request_buffer_job.h Use CompletionOnceCallback in URLRequestSimpleJob. 2018-12-03 20:07:39 +05:30
url_request_context_getter.cc chore: bump chromium to 1e9f9a24aa12 (master) (#17880) 2019-04-20 10:20:37 -07:00
url_request_context_getter.h refactor: Enable network service (Part 1) (#17431) 2019-03-26 10:10:48 +09:00
url_request_fetch_job.cc chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
url_request_fetch_job.h Use CompletionOnceCallback in URLFetcherResponseWriter. 2018-12-03 20:07:41 +05:30
url_request_stream_job.cc chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
url_request_stream_job.h fix: make StreamSubscriber ref counted (#17221) 2019-03-07 20:50:03 +05:30
url_request_string_job.cc chore: convert more files away from base::Bind (#18121) 2019-05-03 12:08:41 -07:00
url_request_string_job.h Use CompletionOnceCallback in URLRequestSimpleJob. 2018-12-03 20:07:39 +05:30