electron/shell/browser/extensions
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 refactor: replace use of deprecated `base::JSONWriter::WriteJson()` (#41224) 2024-02-06 14:36:47 -06: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 chore: bump chromium to 111.0.5518.0 (main) (#36575) 2023-01-05 21:35:34 -05:00
electron_component_extension_resource_manager.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_display_info_provider.cc feat: enable native extensions support (#21814) 2020-02-03 14:01:10 -08:00
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 refactor: use base::NoDestructor instead of base::LazyInstance (#40978) 2024-01-17 12:38:12 -05:00
electron_extension_host_delegate.h chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
electron_extension_loader.cc refactor: remove deprecated ToInternalValue() (#41021) 2024-01-18 11:33:16 -06:00
electron_extension_loader.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_extension_message_filter.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_extension_message_filter.h refactor: replace remaining `NULL` with `nullptr` (#40053) 2023-10-03 12:26:35 -07:00
electron_extension_system.cc chore: migrate base::StringPiece to std::string_view (#40915) (#41345) 2024-02-15 11:01:16 -05:00
electron_extension_system.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_extension_system_factory.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
electron_extension_system_factory.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09: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: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09: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 (#40261) 2023-10-18 21:39:10 +02:00
electron_extensions_browser_api_provider.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_extensions_browser_client.cc chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_extensions_browser_client.h chore: bump chromium to 118.0.5975.0 (main) (#39531) 2023-09-01 15:54:59 +09:00
electron_kiosk_delegate.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
electron_kiosk_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_messaging_delegate.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_messaging_delegate.h chore: bump chromium to 107.0.5286.0 (main) (#35590) 2022-09-08 16:23:08 -07:00
electron_navigation_ui_data.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
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 feat: [extensions] background pages (#21591) 2020-01-13 14:55:58 -08:00
electron_process_manager_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00