forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cookie Last Update Date] (2) Propagate and populate LastUpdateDate f…
…ield This CL adds the getters/setters for LastUpdateDate and hooks it into the sqlite from the last CL for the last_update_utc column. https://docs.google.com/document/d/1x7_2wVY2gSEfMlvpS4AoQtN5x7fHG_AsQ01V4CkSELI/edit The important changes are just in a few files: (A) Adding the new cookie field net/cookies/canonical_cookie.h net/cookies/canonical_cookie.cc net/cookies/canonical_cookie_unittest.cc (B) Hooking the field into mojom services/network/public/mojom/cookie_manager.mojom services/network/public/cpp/cookie_manager_mojom_traits.h services/network/public/cpp/cookie_manager_mojom_traits.cc services/network/public/cpp/cookie_manager_mojom_traits_unittest.cc (C) Hooking the field into sqlite: net/extras/sqlite/sqlite_persistent_cookie_store.cc net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc (D) Testing creation date inheritance: net/cookies/cookie_monster_unittest.cc (E) Hooking the field into android: chrome/browser/android/cookies/cookies_fetcher_util.cc chrome/browser/profiles/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java chrome/browser/profiles/android/java/src/org/chromium/chrome/browser/cookies/CanonicalCookie.java This CL is part of a series: (1) Add last_update_utc field to db (2) Propagate and populate LastUpdateDate field (3) Track cookie refresh delay Bug: 1264458 Change-Id: Id48a13e5f0512ce0406d17d3d09a04b14c1f5190 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3597954 Reviewed-by: Sylvain Defresne <[email protected]> Reviewed-by: Steven Bingler <[email protected]> Auto-Submit: Ari Chivukula <[email protected]> Reviewed-by: Joshua Bell <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: David Roger <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Josh Karlin <[email protected]> Commit-Queue: Josh Karlin <[email protected]> Cr-Commit-Position: refs/heads/main@{#996129}
- Loading branch information
Showing
53 changed files
with
1,153 additions
and
957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.