[cookies] Remove defaults from CanonicalCookie::CreateSanitizedCookie
There is a confusing pattern of defaults on cookie constructors, and this is somewhat dangerous as we do not want cookies to be created in production code without all values being explicitly set (especially as new values are added). No test-only function was added given there's only one value to add a default too it doesn't seem needed. Bug: 332939148 Change-Id: I694660113462c19e15580fdf46564a556ba97d8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5425079 Reviewed-by:Danil Somsikov <dsv@chromium.org> Reviewed-by:
Monica Basta <msalama@chromium.org> Reviewed-by:
Dylan Cutler <dylancutler@google.com> Reviewed-by:
Jon Mann <jonmann@chromium.org> Reviewed-by:
Danila Kuzmin <dkuzmin@google.com> Commit-Queue: Ayu Ishii <ayui@chromium.org> Auto-Submit: Ari Chivukula <arichiv@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
Andrey Davydov <andreydav@google.com> Reviewed-by:
David Dorwin <ddorwin@chromium.org> Reviewed-by:
Ayu Ishii <ayui@chromium.org> Reviewed-by:
Nicolas Ouellet-Payeur <nicolaso@chromium.org> Cr-Commit-Position: refs/heads/main@{#1283986}
Loading
Please register or sign in to comment