electron/shell/browser/api
Cheng Zhao 2a3793485f
feat: implement net module with NetworkService (#19094)
* Stub class for NetworkService-based URLRequest

* Create SimpleURLLoader

* Implement downloading

* Implement response event

* Only write data afte previous one finished

* Use DataPipeGetter for uploading data

* Support chunked upload data

* Call size callback at last

* Simplify UploadDataPipeGetter

* Implement cancelling and closing

* Handle redirection

* Fix uploading large data

* Emit error when request fails

* Emit error for redirection error

* Simplify emitting error

* "follow" should also emit "redirect" event

* SetLoadFlags is not really used

* Implement GetUploadProgress

* Implement FollowRedirect

* Fix exception with multiple redirections

* Reduce number of EmitEvent methods

* Emit response errors

* FetchRedirectMode => RedirectMode
2019-07-04 10:56:19 +09:00
..
views chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_app.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_app.h chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_app_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_app_mas.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_auto_updater.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_auto_updater.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_browser_view.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_browser_view.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_browser_window.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_browser_window.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_browser_window_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_browser_window_views.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_content_tracing.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_cookies.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_cookies.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_debugger.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_debugger.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_desktop_capturer.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_desktop_capturer.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_dialog.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_download_item.cc refactor: make savePath a property on DownloadItem (#18677) 2019-06-20 10:04:57 -07:00
atom_api_download_item.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_event.cc refactor: replace includes for atom with shell 2019-06-19 17:33:28 -07:00
atom_api_global_shortcut.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_global_shortcut.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_in_app_purchase.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_in_app_purchase.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_menu.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_menu.h chore: use ScopedPumpMessagesInPrivateModes in tray (#18977) 2019-06-26 10:18:53 -07:00
atom_api_menu_mac.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_menu_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_menu_views.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_menu_views.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_net.cc feat: implement net module with NetworkService (#19094) 2019-07-04 10:56:19 +09:00
atom_api_net.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_net_log.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_net_log.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_notification.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_notification.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_power_monitor.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_power_monitor.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_power_monitor_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_power_monitor_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_power_save_blocker.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_power_save_blocker.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_protocol.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_protocol.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_protocol_ns.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_protocol_ns.h docs: documentation of NetworkService-based protocol module (#18952) 2019-06-28 16:25:30 +09:00
atom_api_screen.cc fix: delay emitting screen events by a tick to avoid re-entrancy crash (#19016) 2019-06-27 19:01:28 -07:00
atom_api_screen.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_session.cc refactor: nws13n: setCertificateVerifyProc (#18221) 2019-06-28 15:22:23 -07:00
atom_api_session.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_system_preferences.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_system_preferences.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_system_preferences_mac.mm fix: make isDarkMode correctly detect dark mode in the auto setting on catalina (#18949) 2019-06-24 10:17:38 -07:00
atom_api_system_preferences_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_top_level_window.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
atom_api_top_level_window.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_tray.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_tray.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_url_request.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_url_request.h feat: implement net module with NetworkService (#19094) 2019-07-04 10:56:19 +09:00
atom_api_url_request_ns.cc feat: implement net module with NetworkService (#19094) 2019-07-04 10:56:19 +09:00
atom_api_url_request_ns.h feat: implement net module with NetworkService (#19094) 2019-07-04 10:56:19 +09:00
atom_api_view.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_view.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_contents.cc chore: bump chromium to f156cb7658ec5382f5623a05841c6 (master) (#19096) 2019-07-03 14:48:55 -07:00
atom_api_web_contents.h fix: ignore non-absolute session preload script paths when sandboxed (#19066) 2019-07-03 08:05:45 -07:00
atom_api_web_contents_impl.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_contents_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_contents_view.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_contents_view.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_request.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_request.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_api_web_view_manager.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
event.cc refactor: replace includes for atom with shell 2019-06-19 17:33:28 -07:00
event.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
event_emitter.cc fix: correct triggeredByAccelerator Event property behavior (#18865) 2019-06-28 14:38:17 -07:00
event_emitter.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
frame_subscriber.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
frame_subscriber.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
gpu_info_enumerator.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
gpu_info_enumerator.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
gpuinfo_manager.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
gpuinfo_manager.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
process_metric.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
process_metric.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
save_page_handler.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
save_page_handler.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
stream_subscriber.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
stream_subscriber.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
trackable_object.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
trackable_object.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00