electron/shell
Charles Kerr 44a4328ea8
refactor: take a uint8_t span in ValidateIntegrityOrDie() (#43592)
refactor: take a uint8_t span in ValidateIntegrityOrDie()

Doing some groundwork for fixing unsafe base::File() APIs:

- Change ValidateIntegrityOrDie() to take a span<const uint8_t> arg.
  We'll need this to migrate asar's base::File API calls away from the
  ones tagged `UNSAFE_BUFFER_USAGE` because the safe counterparts use
  span<uint8_t> too.

- Simplify ValidateIntegrityOrDie()'s implementation by using
  crypto::SHA256Hash() instead of reinventing the wheel.
2024-09-06 20:22:44 -05:00
..
app fix: delete UvTaskRunner's timers only after they're closed (#43561) 2024-09-06 07:16:56 -05:00
browser refactor: NativeWindow::Create() returns a unique_ptr (#43576) 2024-09-06 12:59:32 -04:00
common refactor: take a uint8_t span in ValidateIntegrityOrDie() (#43592) 2024-09-06 20:22:44 -05:00
renderer perf: use v8::Local<v8::Object> as the key in ObjectCache (#43519) 2024-09-04 22:53:06 -05:00
services/node refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
utility chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00