electron/shell/browser
Felix Rieseberg 687a59b43b
feat: Add shared dictionary management APIs (#44750)
* Add bare-bones GetSharedDictionaryUsageInfo

* Add GetSharedDictionaryInfo()

* Improve API, use isolation keys

* Add documentation

* Update docs/api/session.md

Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>

* Update shell/browser/api/electron_api_session.cc

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>

* Add tests

* Implement feedback <3

* Improve tests

* chore: lint

* docs: add note about clearing cache in ses.clearData

---------

Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: alice <alice@makenotion.com>
2024-12-04 12:25:11 -05:00
..
api feat: Add shared dictionary management APIs (#44750) 2024-12-04 12:25:11 -05:00
badging refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
bluetooth chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
extensions fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
file_system_access fix: modernize-avoid-c-arrays (#44813) 2024-11-25 10:49:58 -05:00
hid refactor: replace base::StringPrintf() calls with absl::StrFormat() (#44515) 2024-11-04 12:58:16 -06:00
lib chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
linux fix: modernize-use-using clang-tidy warnings (#44806) 2024-11-25 10:50:33 -05:00
mac fix: -Wunsafe-buffer-usage warning in didRegisterForRemoteNotificationsWithDeviceToken (#44348) 2024-10-23 14:18:22 -05:00
media chore: iwyu mojom-forward header files (#43741) 2024-09-17 12:58:56 -07:00
net chore: bump chromium to 133.0.6852.0 (main) (#44748) 2024-11-25 10:45:47 -05:00
notifications fix: remove use of banned std::to_string() (#44514) 2024-11-04 16:42:42 -05:00
osr fix: don't use deprecated ui::MouseEvent constructor (#44868) 2024-12-02 11:13:38 -05:00
plugins refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
printing fix: misc-use-internal-linkage warnings (#44843) 2024-11-27 10:40:39 -06:00
resources
serial refactor: replace base::StringPrintf() calls with absl::StrFormat() (#44515) 2024-11-04 12:58:16 -06:00
ui fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
usb fix: modernize-avoid-c-arrays (#44813) 2024-11-25 10:49:58 -05:00
webauthn chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
win chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
animation_util.h
animation_util_mac.mm
auto_updater.cc build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07:00
auto_updater.h fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
auto_updater_mac.mm
background_throttling_source.h
browser.cc chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00
browser.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
browser_linux.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
browser_mac.mm build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07:00
browser_observer.h fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
browser_process_impl.cc chore: bump chromium to 129.0.6668.0 (main) (#43368) 2024-08-20 16:54:27 +02:00
browser_process_impl.h chore: bump chromium to 129.0.6668.0 (main) (#43368) 2024-08-20 16:54:27 +02:00
browser_win.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
certificate_manager_model.cc
certificate_manager_model.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
child_web_contents_tracker.cc
child_web_contents_tracker.h
cookie_change_notifier.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
cookie_change_notifier.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
draggable_region_provider.h
electron_api_ipc_handler_impl.cc
electron_api_ipc_handler_impl.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_autofill_driver.cc
electron_autofill_driver.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_autofill_driver_factory.cc chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00
electron_autofill_driver_factory.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
electron_browser_client.cc chore: remove unused registry arg from GetPrivilegeRequiredByUrl() (#44908) 2024-12-02 14:02:47 -05:00
electron_browser_client.h chore: bump chromium to 131.0.6762.0 (main) (#44117) 2024-10-07 18:06:47 -05:00
electron_browser_context.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
electron_browser_context.h chore: iwyu mojom-forward header files (#43741) 2024-09-17 12:58:56 -07:00
electron_browser_main_parts.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_browser_main_parts.h chore: iwyu mojom-forward header files (#43741) 2024-09-17 12:58:56 -07:00
electron_browser_main_parts_linux.cc refactor: move impl classes into unnamed namespaces (#42390) 2024-06-10 17:00:20 -05:00
electron_browser_main_parts_mac.mm chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_browser_main_parts_posix.cc chore: bump chromium to 133.0.6846.0 (main) (#44665) 2024-11-19 19:52:20 -08:00
electron_crypto_module_delegate_nss.cc fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (#44211) 2024-10-14 10:46:24 +02:00
electron_crypto_module_delegate_nss.h feat: Implement password delegate for NSS (#41205) 2024-07-17 09:48:03 -04:00
electron_download_manager_delegate.cc chore: cleanup include groupings (#43478) 2024-08-26 10:44:20 -04:00
electron_download_manager_delegate.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_gpu_client.cc
electron_gpu_client.h
electron_navigation_throttle.cc chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
electron_navigation_throttle.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_pdf_document_helper_client.cc chore: bump chromium to 133.0.6846.0 (main) (#44665) 2024-11-19 19:52:20 -08:00
electron_pdf_document_helper_client.h chore: bump chromium to 133.0.6846.0 (main) (#44665) 2024-11-19 19:52:20 -08:00
electron_permission_manager.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_permission_manager.h chore: bump chromium to 130.0.6695.0 (main) (#43454) 2024-09-17 18:12:11 -07:00
electron_plugin_info_host_impl.cc chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
electron_plugin_info_host_impl.h chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
electron_speech_recognition_manager_delegate.cc refactor: do not subclass ElectronSpeechRecognitionManagerDelegate from SpeechRecognitionEventListener (#42806) 2024-07-10 15:32:50 +02:00
electron_speech_recognition_manager_delegate.h refactor: do not subclass ElectronSpeechRecognitionManagerDelegate from SpeechRecognitionEventListener (#42806) 2024-07-10 15:32:50 +02:00
electron_web_contents_utility_handler_impl.cc chore: bump chromium to 125.0.6412.0 (main) (#41610) 2024-04-15 18:10:32 -04:00
electron_web_contents_utility_handler_impl.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_web_ui_controller_factory.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
electron_web_ui_controller_factory.h
event_emitter_mixin.h
extended_web_contents_observer.h fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
fake_location_provider.cc chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00
fake_location_provider.h
feature_list.cc feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
feature_list.h feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
feature_list_mac.mm feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
file_select_helper.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
file_select_helper.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
file_select_helper_mac.mm
font_defaults.cc fix: -Wunsafe-buffer-usage in electron::SetFontDefaults() (#44014) 2024-09-30 15:09:36 +02:00
font_defaults.h
javascript_environment.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
javascript_environment.h
login_handler.cc chore: bump chromium to 131.0.6762.0 (main) (#44117) 2024-10-07 18:06:47 -05:00
login_handler.h chore: bump chromium to 131.0.6762.0 (main) (#44117) 2024-10-07 18:06:47 -05:00
microtasks_runner.cc perf: remove isolate scope from DidProcessTask() (#44439) 2024-10-29 23:25:40 -05:00
microtasks_runner.h
native_window.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
native_window.h feat: add query-session-end and improve session-end events on Windows (#44598) 2024-11-22 11:47:36 -08:00
native_window_features.cc chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
native_window_features.h
native_window_mac.h fix: ensure context-menu emitted for draggable regions (#44761) 2024-11-22 12:33:38 +01:00
native_window_mac.mm chore: fix textured window conditional on macOS (#44728) 2024-11-20 10:34:46 -06:00
native_window_observer.h fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
native_window_views.cc fix: improve single-pixel resize handling on Windows (#44700) 2024-11-19 13:24:07 +01:00
native_window_views.h chore: bump chromium to 131.0.6744.0 (main) (#43948) 2024-09-30 14:54:44 +02:00
native_window_views_win.cc feat: add query-session-end and improve session-end events on Windows (#44598) 2024-11-22 11:47:36 -08:00
network_hints_handler_impl.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
network_hints_handler_impl.h
protocol_registry.cc perf: prefer GURL string_view getters (#43443) 2024-08-23 17:15:45 -05:00
protocol_registry.h perf: prefer GURL string_view getters (#43443) 2024-08-23 17:15:45 -05:00
relauncher.cc refactor: reduce scope of relauncher's internal constants (#44860) 2024-11-30 06:54:40 -06:00
relauncher.h refactor: reduce scope of relauncher's internal constants (#44860) 2024-11-30 06:54:40 -06:00
relauncher_linux.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
relauncher_mac.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
relauncher_win.cc refactor: reduce scope of relauncher's internal constants (#44860) 2024-11-30 06:54:40 -06:00
session_preferences.cc
session_preferences.h
special_storage_policy.cc chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00
special_storage_policy.h
web_contents_permission_helper.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
web_contents_permission_helper.h feat: implement File System API support (#41419) 2024-04-10 22:06:47 +02:00
web_contents_preferences.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
web_contents_preferences.h refactor: remove unused web contents preferences methods (#42947) 2024-07-19 12:26:57 -05:00
web_contents_zoom_controller.cc perf: prefer GURL string_view getters (#43443) 2024-08-23 17:15:45 -05:00
web_contents_zoom_controller.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
web_contents_zoom_observer.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
web_view_guest_delegate.cc chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
web_view_guest_delegate.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
web_view_manager.cc
web_view_manager.h
window_list.cc chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00
window_list.h
window_list_observer.h fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
zoom_level_delegate.cc fix: modernize-avoid-c-arrays (#44813) 2024-11-25 10:49:58 -05:00
zoom_level_delegate.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00