electron/shell/browser/extensions/api/management
Charles Kerr d7c6fb8250
refactor: follow upstream's suggestions on when to use EmptyGURL() (#45498)
- 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().
2025-02-07 13:58:31 -05:00
..
electron_management_api_delegate.cc refactor: follow upstream's suggestions on when to use EmptyGURL() (#45498) 2025-02-07 13:58:31 -05:00
electron_management_api_delegate.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00