electron/shell/browser/extensions/api
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
..
extension_action fix: modernize-use-equals-default warnings (#44935) 2024-12-03 16:25:48 -06:00
management refactor: follow upstream's suggestions on when to use EmptyGURL() (#45521) 2025-02-13 11:30:40 +01:00
pdf_viewer_private chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
resources_private chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
runtime chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
scripting chore: bump chromium to 133.0.6943.35 (35-x-y) (#45217) 2025-02-03 15:10:57 -05:00
streams_private chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
tabs fix: potential crash in chrome.tabs.update() (#45302) 2025-01-23 11:53:40 +01:00
BUILD.gn fix: chrome.action API registration (#40500) 2023-11-13 08:27:18 +01:00