Use CookieOptions::MakeAllInclusive() in //net/cookies/
This replaces two uses of net::CookieOptions where we used to manually set include_httponly and same_site_cookie_context to "strict", with the recently added CookieOptions::MakeAllInclusive(), which does both of those things automatically (and also sets do_not_update_access_time, which doesn't matter because that field is not read for these two usages). There isn't really any reason for this aside from saving a few lines of code for readability and eliminating a member variable. Bug: None Change-Id: I2311e3cb8ea06301deb3eb72d86edfe986e8cf89 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832302Reviewed-by:Maks Orlovich <morlovich@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#701586}
Showing
Please register or sign in to comment