commit | d8ed9f8c139015a537c43d1e39dcf932bbc23bcb | [log] [tgz] |
---|---|---|
author | Chris Mumford <[email protected]> | Tue May 01 15:43:13 2018 |
committer | Commit Bot <[email protected]> | Tue May 01 15:43:13 2018 |
tree | 9c4661ed7d05a7d8c5d4f1bbc1b3adcf8599afa3 | |
parent | 88695317a708248ef38e167eb2d5b0b6c8664157 [diff] [blame] |
Decouple CookieDeletionInfo from net::CookieStore. Decoupling CookieDeletionInfo form net::CookieStore removes the need to include cookie_store.h which in turn makes it harder to bypass the cookie manager (in the network service) and directly access the cookie store by accident. This change also moves net::CookieStore::TimeRange to net::CookieDeletionInfo::TimeRange. [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] TBRing reviewers: [email protected]: Please review changes to //ios [email protected]: Please review changes to //headless [email protected]: Please review changes to //extensions [email protected]: Please review changes to //content [email protected]: Please review changes to //chrome [email protected]: Please review changes to //android_webview Bug: 823297 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I28282c29ec50a970c26f2677b6df3ff3c01529c0 Reviewed-on: https://chromium-review.googlesource.com/1031178 Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Alexander Timin <[email protected]> Reviewed-by: Eugene But <[email protected]> Reviewed-by: John Abd-El-Malek <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Maks Orlovich <[email protected]> Reviewed-by: Matt Menke <[email protected]> Reviewed-by: Chris Mumford <[email protected]> Commit-Queue: Chris Mumford <[email protected]> Cr-Commit-Position: refs/heads/master@{#555045}
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc index 86d2701..c36ee65 100644 --- a/net/cookies/cookie_monster.cc +++ b/net/cookies/cookie_monster.cc
@@ -75,6 +75,7 @@ using base::Time; using base::TimeDelta; using base::TimeTicks; +using TimeRange = net::CookieDeletionInfo::TimeRange; // In steady state, most cookie requests can be satisfied by the in memory // cookie monster store. If the cookie request cannot be satisfied by the in