electron/shell/browser/extensions
trop[bot] 5b90ce2290
refactor: follow upstream's suggestions on when to use EmptyGURL() (#45521)
- Prefer GURL() when we want to return a non-reference empty URL.

- In ServiceWorkerMain::GetStorageKey(), use a reference instead
  of instantiating a new temporary GURL.

From url/gurl.h:

> // Returns a reference to a singleton empty GURL. This object is for
> // callers who return references but don't have anything to return in
> // some cases. If you just want an empty URL for normal use, prefer
> // GURL().

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-13 11:30:40 +01:00
..
api refactor: follow upstream's suggestions on when to use EmptyGURL() (#45521) 2025-02-13 11:30:40 +01:00
electron_browser_context_keyed_service_factories.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_browser_context_keyed_service_factories.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_component_extension_resource_manager.cc fix: -Wunsafe-buffer-usage warnings in AddComponentResourceEntries() (#44024) 2024-09-30 11:01:24 -05:00
electron_component_extension_resource_manager.h fix: -Wunsafe-buffer-usage warnings in AddComponentResourceEntries() (#44024) 2024-09-30 11:01:24 -05:00
electron_display_info_provider.cc
electron_display_info_provider.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_extension_host_delegate.cc chore: bump chromium to 133.0.6846.0 (main) (#44665) 2024-11-19 19:52:20 -08:00
electron_extension_host_delegate.h chore: bump chromium to 133.0.6846.0 (main) (#44665) 2024-11-19 19:52:20 -08:00
electron_extension_loader.cc chore: bump chromium to 133.0.6943.35 (35-x-y) (#45217) 2025-02-03 15:10:57 -05:00
electron_extension_loader.h chore: bump chromium to 133.0.6943.35 (35-x-y) (#45217) 2025-02-03 15:10:57 -05:00
electron_extension_system.cc fix: build failure when PDF viewer is disabled (#44960) 2024-12-06 17:54:04 +09:00
electron_extension_system.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_extension_system_factory.cc refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
electron_extension_system_factory.h refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
electron_extension_web_contents_observer.cc chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05:00
electron_extension_web_contents_observer.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_extensions_api_client.cc chore: remove unused nogncheck includes (#43964) 2024-09-26 17:09:42 -05:00
electron_extensions_api_client.h chore: bump chromium to 117.0.5892.0 (main) (#39118) 2023-07-19 00:26:27 +02:00
electron_extensions_browser_api_provider.cc chore: implement no-op chrome.action extension APIs (#40222) 2023-10-18 10:19:31 -04:00
electron_extensions_browser_api_provider.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_extensions_browser_client.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_extensions_browser_client.h chore: bump chromium to 133.0.6846.0 (main) (#44665) 2024-11-19 19:52:20 -08:00
electron_kiosk_delegate.cc
electron_kiosk_delegate.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_messaging_delegate.cc chore: bump chromium to 133.0.6943.35 (35-x-y) (#45217) 2025-02-03 15:10:57 -05:00
electron_messaging_delegate.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_navigation_ui_data.cc
electron_navigation_ui_data.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_process_manager_delegate.cc chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00
electron_process_manager_delegate.h chore: bump chromium to 129.0.6616.0 (main) (#43012) 2024-07-29 09:37:35 -04:00