Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Issue 1615773005: Rename first-party-only cookies to same-site cookies. (Closed)

Created:
4 years, 11 months ago by Mike West
Modified:
4 years, 10 months ago
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, markusheintz_, pfeldman+blink_chromium.org, pfeldman, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename first-party-only cookies to same-site cookies. As per https://tools.ietf.org/html/draft-west-first-party-cookies-05 and https://lists.w3.org/Archives/Public/ietf-http-wg/2016JanMar/0134.html. BUG=459154 Committed: https://crrev.com/4654941d380d76638610198ac497015b8d979bb9 Cr-Commit-Position: refs/heads/master@{#372630}

Patch Set 1 #

Patch Set 2 : Tests. #

Patch Set 3 : Missed a few. #

Total comments: 25

Patch Set 4 : Feedback. #

Total comments: 3

Patch Set 5 : Tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -249 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/cookies/CanonicalCookie.java View 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/cookies/CookiesFetcher.java View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/android/cookies/cookies_fetcher.cc View 1 2 3 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/browsing_data/cookies_tree_model.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ios/net/cookies/cookie_store_ios_unittest.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/net/cookies/system_cookie_util_unittest.mm View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M net/cookies/canonical_cookie.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M net/cookies/canonical_cookie.cc View 1 2 3 7 chunks +8 lines, -8 lines 0 comments Download
M net/cookies/canonical_cookie_unittest.cc View 1 2 3 15 chunks +55 lines, -55 lines 0 comments Download
M net/cookies/cookie_monster.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 3 12 chunks +17 lines, -19 lines 0 comments Download
M net/cookies/cookie_monster_store_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 2 3 8 chunks +14 lines, -14 lines 0 comments Download
M net/cookies/cookie_options.h View 1 2 3 3 chunks +6 lines, -10 lines 0 comments Download
M net/cookies/cookie_options.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/cookies/parsed_cookie.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M net/cookies/parsed_cookie.cc View 1 2 3 4 6 chunks +10 lines, -16 lines 0 comments Download
M net/cookies/parsed_cookie_unittest.cc View 1 2 3 4 10 chunks +12 lines, -13 lines 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 8 chunks +23 lines, -25 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/components/cookie-parser.html View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/components/cookie-parser-expected.txt View 1 2 3 4 3 chunks +30 lines, -30 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/cookie-resource-match.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components_lazy/CookiesTable.js View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
Mike West
mmenke@: Would you mind taking a look at the (mostly mechanical) changes to //net? jochen@: ...
4 years, 11 months ago (2016-01-22 10:30:51 UTC) #2
jochen (gone - plz use gerrit)
ugh anyways, if net is happy the rest lgtm
4 years, 11 months ago (2016-01-22 14:19:29 UTC) #3
mmenke
May not have time to do a full review until Monday, due to an offsite. ...
4 years, 11 months ago (2016-01-22 17:05:28 UTC) #4
Mike West
https://codereview.chromium.org/1615773005/diff/40001/net/cookies/canonical_cookie.h File net/cookies/canonical_cookie.h (right): https://codereview.chromium.org/1615773005/diff/40001/net/cookies/canonical_cookie.h#newcode41 net/cookies/canonical_cookie.h:41: bool samesite, On 2016/01/22 at 17:05:28, mmenke wrote: > ...
4 years, 11 months ago (2016-01-25 09:46:54 UTC) #5
mmenke
Tagged samesites (As I think we should go with same_site and http_only, per comment). And ...
4 years, 11 months ago (2016-01-25 18:47:10 UTC) #6
Mike West
Thanks! https://codereview.chromium.org/1615773005/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1615773005/diff/40001/chrome/app/generated_resources.grd#newcode10268 chrome/app/generated_resources.grd:10268: + <message name="IDS_COOKIES_COOKIE_SENDFOR_SAMESITE" desc="Send Cookie for any same-site ...
4 years, 11 months ago (2016-01-26 11:05:45 UTC) #7
Mike West
+marq for ios/net/cookies. Mind taking a quick look?
4 years, 11 months ago (2016-01-26 11:06:46 UTC) #9
marq (ping after 24h)
/ios/net/ LGTM
4 years, 11 months ago (2016-01-26 11:58:17 UTC) #10
mmenke
https://codereview.chromium.org/1615773005/diff/40001/net/url_request/url_request_http_job.cc File net/url_request/url_request_http_job.cc (right): https://codereview.chromium.org/1615773005/diff/40001/net/url_request/url_request_http_job.cc#newcode674 net/url_request/url_request_http_job.cc:674: cookie_store->GetAllCookiesForURLAsync( On 2016/01/25 18:47:10, mmenke wrote: > Erm...wait...We get ...
4 years, 11 months ago (2016-01-26 15:08:05 UTC) #11
Mike West
https://codereview.chromium.org/1615773005/diff/40001/net/url_request/url_request_http_job.cc File net/url_request/url_request_http_job.cc (right): https://codereview.chromium.org/1615773005/diff/40001/net/url_request/url_request_http_job.cc#newcode674 net/url_request/url_request_http_job.cc:674: cookie_store->GetAllCookiesForURLAsync( On 2016/01/26 at 15:08:05, mmenke wrote: > On ...
4 years, 11 months ago (2016-01-26 16:19:13 UTC) #12
mmenke
On 2016/01/26 16:19:13, Mike West wrote: > https://codereview.chromium.org/1615773005/diff/40001/net/url_request/url_request_http_job.cc > File net/url_request/url_request_http_job.cc (right): > > https://codereview.chromium.org/1615773005/diff/40001/net/url_request/url_request_http_job.cc#newcode674 ...
4 years, 11 months ago (2016-01-26 16:40:38 UTC) #13
mmenke
On 2016/01/26 16:40:38, mmenke wrote: > On 2016/01/26 16:19:13, Mike West wrote: > > > ...
4 years, 11 months ago (2016-01-26 16:41:05 UTC) #14
mmenke
On 2016/01/26 16:41:05, mmenke wrote: > On 2016/01/26 16:40:38, mmenke wrote: > > On 2016/01/26 ...
4 years, 11 months ago (2016-01-26 16:42:43 UTC) #15
Mike West
> Actually, that seems like a pretty significant bug. Ping me once they're passing, and ...
4 years, 10 months ago (2016-01-29 06:39:37 UTC) #16
mmenke
LGTM!
4 years, 10 months ago (2016-01-29 16:44:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615773005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615773005/80001
4 years, 10 months ago (2016-01-29 19:36:49 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/123407)
4 years, 10 months ago (2016-01-29 20:19:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1615773005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1615773005/80001
4 years, 10 months ago (2016-02-01 06:33:12 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-01 10:05:47 UTC) #25
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 10:07:58 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4654941d380d76638610198ac497015b8d979bb9
Cr-Commit-Position: refs/heads/master@{#372630}

Powered by Google App Engine
This is Rietveld 408576698