CookieStore: Switch CookieChangeSubscription to proto3.
The change makes all proto fields optional, and slightly simplifies the decoding logic. CookieChangeSubscription::Serialize() sets all the proto's fields, so the change is only relevant for corrupt protos. In this case, proto3 will report default values for missing fields. The change is compatible with previously written data, as proto2 and proto3 use the same on-disk format. Bug: 729800 Change-Id: I06b08ce003b571b716bccd540fa15918ea925bb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2036393Reviewed-by:Ayu Ishii <ayui@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#737905}
Showing
Please register or sign in to comment