• Lily Chen's avatar
    Use CookieOptions::MakeAllInclusive() in //net/cookies/ · 24da3e42
    Lily Chen authored
    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: default avatarMaks Orlovich <morlovich@chromium.org>
    Commit-Queue: Lily Chen <chlily@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#701586}
    24da3e42
cookie_monster_change_dispatcher.cc 7.62 KB