[roll] Roll fuchsia [zxdb] Improve filepath resolution efficiency (2)

Use the more efficient `SourceFileProvider::GetFileMetadata` in
`dap::OnRequestScopes` over `GetFileData`, which would've read full file
contents to memory.

This extra efficiency optimization was overlooked by
https://fxrev.dev/1552340. Aside from `dap::OnRequestScopes`, the only
remaining non-test usage of `SourceFileProvider::GetFileData` is
`zxdb::FormatSourceFileContext`, so this CL accounts for all remaining
usage optimizations.

Additionally, add `MockSourceFileProvider::GetFileMetadata` to conform
to the Liskov Substitution Principle and for any future tests that may
rely on that method.

Original-Bug: 494582844
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1552760
Original-Revision: e7560d6a19c5da36fbb0b174807928dfedc1b7cc
GitOrigin-RevId: fdecc81d56929724db61a947c3b5910415ae3f2b
Change-Id: Ibce42e469a2644df2029ce613ad851952b647d0a
1 file changed
tree: 4b8f762451d6c9e2f31fa20569cc7110b9680e51
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.