electron/shell/renderer
Charles Kerr e93a028c91
chore: migrate base::StringPiece to std::string_view (#40915) (#41345)
chore: migrate base::StringPiece to std::string_view (#40915) (#40973)

* chore: migrate from base::StringPiece to std::string_view in keyboard_util.cc

* chore: migrate from base::StringPiece to std::string_view in error_thrower.cc

* chore: migrate from base::StringPiece to std::string_view in electron_api_web_contents.cc

* chore: migrate from base::StringPiece to std::string_view in gin_helper/dictionary.h

* chore: migrate from base::StringPiece to std::string_view in electron_api_url_loader.cc

* chore: phase out internal use of base:::StringPiece

`base::StringPiece` is being phased out upstream. Its code has been
removed upstream and it's just a typedef for `std::string_view`.

They haven't removed the typedef yet, so this PR tries to get ahead
of future breakage by migrating "internal" use (i.e. leaving alone the
places where the `base::StringPiece` name is coming from an upstream
method that we override).

Xref: https://bugs.chromium.org/p/chromium/issues/detail?id=691162

Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4294483

Xref: https://docs.google.com/document/d/1d4RnD1uAE2t4iANR0nXy82ASIPGsPuw2mpO6v6T7JKs
2024-02-15 11:01:16 -05:00
..
api chore: migrate base::StringPiece to std::string_view (#40915) (#41345) 2024-02-15 11:01:16 -05:00
extensions chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
printing fix: failing build with `enable_electron_extensions=false` (#40032) 2023-10-04 10:40:01 +02:00
resources/mac fix: disable MallocNanoZone on mac (#33704) 2022-04-28 10:28:27 -04:00
browser_exposed_renderer_interfaces.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
browser_exposed_renderer_interfaces.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
content_settings_observer.cc feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
content_settings_observer.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_service_impl.cc fix: potential `async_hooks` crash in `NotifyWindowRestore` on Windows (#41145) 2024-01-28 20:37:59 +01:00
electron_api_service_impl.h chore: remove deprecated `ipcRenderer.sendTo()` (#39087) 2023-08-28 10:29:27 -04:00
electron_autofill_agent.cc chore: bump chromium to 119.0.6029.0 (main) (#39944) 2023-09-28 22:26:41 -07:00
electron_autofill_agent.h chore: cleanup autofill agent shutdown sequence (#36954) 2023-01-20 14:35:06 -08:00
electron_render_frame_observer.cc refactor: remove banned std::to_string() calls (#41108) 2024-01-25 10:13:02 +09:00
electron_render_frame_observer.h fix: window.open not overriding parent's webPreferences (#32057) 2021-12-06 12:54:14 +09:00
electron_renderer_client.cc fix: raw_ptr destruction order in NodeBindings (#39762) 2023-09-07 18:25:17 -05:00
electron_renderer_client.h fix: raw_ptr destruction order in NodeBindings (#39762) 2023-09-07 18:25:17 -05:00
electron_renderer_pepper_host_factory.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
electron_renderer_pepper_host_factory.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_sandboxed_renderer_client.cc refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547) 2023-08-21 10:43:41 +09:00
electron_sandboxed_renderer_client.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
pepper_helper.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
pepper_helper.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
renderer_client_base.cc feat: enable code cache for custom protocols (#40709) 2023-12-13 12:48:48 -06:00
renderer_client_base.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
web_worker_observer.cc refactor: node::Environment self-cleanup (#39604) 2023-08-23 09:56:16 -04:00
web_worker_observer.h refactor: node::Environment self-cleanup (#39604) 2023-08-23 09:56:16 -04:00