0
Files
src/content/renderer
Chris Fredrickson 9ffdf5bc51 Replace has_storage_access boolean with 2-state enum
This CL does not change any behavior; it is a mechanical change that
introduces a new 2-state enum to replace a boolean, and renames the
associated methods/variables.

(This CL also includes the corresponding mojo version of the enum, and
EnumTraits specialization and tests.)

This CL *does* change a test (url_request_mojom_traits_unittest.cc) to
supply a non-default value for the relevant field, rather than the
field's default value (since this test is about round-tripping the
mojo struct).

Bug: b:348671111, 344608182
Change-Id: I89c8657235e60734513cfc840fe61d3c12b80a77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5683463
Commit-Queue: Chris Fredrickson <cfredric@chromium.org>
Auto-Submit: Chris Fredrickson <cfredric@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1325075}
2024-07-09 20:05:09 +00:00
..