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

Issue 2633663003: Implements strict secure cookies as the default behavior in //net (Closed)

Created:
3 years, 11 months ago by jww
Modified:
3 years, 10 months ago
CC:
cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, extensions-reviews_chromium.org, jam, jochen+watch_chromium.org, markusheintz_, mlamouri+watch-content_chromium.org, msramek+watch_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements strict secure cookies as the default behavior in //net Strict secure cookies have been behind a runtime and Finch flag. Our experiments show minimal negative impact on users, so this implements the feature as the default. It also updates tests to integrate previously separate strict secure tests into the default tests. BUG=568188 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2633663003 Cr-Commit-Position: refs/heads/master@{#446710} Committed: https://chromium.googlesource.com/chromium/src/+/a26e439d02baa9514b09c637bf5fa9f6790c4c3e

Patch Set 1 #

Total comments: 4

Patch Set 2 : Nits #

Patch Set 3 : Rebase on ToT #

Patch Set 4 : WebView and iOS cleanup #

Patch Set 5 : More iOS fixes #

Patch Set 6 : Test fixes #

Patch Set 7 : More compile fixes #

Patch Set 8 : More test fixes #

Patch Set 9 : Rebase on ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -453 lines) Patch
M android_webview/browser/net/aw_cookie_store_wrapper.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/net/aw_cookie_store_wrapper.cc View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/cookies/cookies_fetcher.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_impl_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/profile_auth_data.cc View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/chromeos/login/profile_auth_data_unittest.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_api.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_unittest.cc View 1 2 3 4 5 4 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/test/data/extensions/api_test/cookies/api/tab.js View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M components/signin/core/browser/gaia_cookie_manager_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 4 chunks +0 lines, -14 lines 0 comments Download
M content/browser/net/quota_policy_cookie_store_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/shell/browser/shell_network_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/browser/shell_network_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M headless/public/util/generic_url_request_job_test.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M headless/public/util/testing/generic_url_request_mocks.h View 1 chunk +0 lines, -1 line 0 comments Download
M headless/public/util/testing/generic_url_request_mocks.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ios/net/cookies/cookie_cache_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ios/net/cookies/cookie_store_ios.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ios/net/cookies/cookie_store_ios.mm View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -4 lines 0 comments Download
M ios/net/cookies/cookie_store_ios_unittest.mm View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M net/base/layered_network_delegate.h View 2 chunks +0 lines, -2 lines 0 comments Download
M net/base/layered_network_delegate.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M net/base/network_delegate.h View 2 chunks +0 lines, -11 lines 0 comments Download
M net/base/network_delegate.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/base/network_delegate_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M net/base/network_delegate_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/cookies/canonical_cookie.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/cookies/canonical_cookie.cc View 3 chunks +2 lines, -4 lines 0 comments Download
M net/cookies/canonical_cookie_unittest.cc View 1 2 3 4 5 16 chunks +34 lines, -45 lines 0 comments Download
M net/cookies/cookie_monster.h View 1 2 5 chunks +6 lines, -14 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 2 17 chunks +35 lines, -66 lines 0 comments Download
M net/cookies/cookie_monster_store_test.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 2 14 chunks +58 lines, -148 lines 0 comments Download
M net/cookies/cookie_options.h View 2 chunks +0 lines, -6 lines 0 comments Download
M net/cookies/cookie_options.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/cookies/cookie_store.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M net/cookies/cookie_store_test_helpers.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/cookies/cookie_store_test_helpers.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/cookies/cookie_store_unittest.h View 4 chunks +8 lines, -8 lines 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc View 7 chunks +12 lines, -12 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M net/url_request/url_request_test_util.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_test_util.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 54 (29 generated)
jww
Mike, can you take a look at this? I'm going to wait until we land ...
3 years, 11 months ago (2017-01-14 00:07:28 UTC) #3
Mike West
Wow. That's a lot more code than I'd expected. The bits I can approve (//net/cookies, ...
3 years, 11 months ago (2017-01-14 06:24:02 UTC) #4
jww
https://codereview.chromium.org/2633663003/diff/1/net/cookies/cookie_monster.cc File net/cookies/cookie_monster.cc (right): https://codereview.chromium.org/2633663003/diff/1/net/cookies/cookie_monster.cc#newcode1622 net/cookies/cookie_monster.cc:1622: // See: https://tools.ietf.org/html/draft-west-leave-secure-cookies-alone On 2017/01/14 06:24:01, Mike West (sloooooow) ...
3 years, 11 months ago (2017-01-24 18:09:26 UTC) #5
jww
xunjieli@, would you mind reviewing headless/*? jochen@, can you take a look a components/* and ...
3 years, 11 months ago (2017-01-25 16:38:23 UTC) #7
jochen (gone - plz use gerrit)
components & content lgtm
3 years, 11 months ago (2017-01-25 16:41:00 UTC) #8
mmenke
On 2017/01/25 16:38:23, jww wrote: > xunjieli@, would you mind reviewing headless/*? I don't think ...
3 years, 11 months ago (2017-01-25 16:41:10 UTC) #9
jww
Whoops, error selecting reviewers. xunjieli, sorry about that, removing you from reviewers since I misread ...
3 years, 11 months ago (2017-01-25 16:41:38 UTC) #11
altimin
On 2017/01/25 16:41:38, jww wrote: > Whoops, error selecting reviewers. xunjieli, sorry about that, removing ...
3 years, 11 months ago (2017-01-25 16:50:08 UTC) #12
mmenke
net/, chrome/browser/net LGTM. Deferring to mkwst on net/cookies (Did skim them, but did nothing close ...
3 years, 11 months ago (2017-01-25 19:40:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2633663003/20001
3 years, 11 months ago (2017-01-25 22:24:11 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/142414) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-25 22:28:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2633663003/40001
3 years, 11 months ago (2017-01-25 22:44:55 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/142432) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-25 22:57:03 UTC) #23
jww
torne@chromium.org: Please review changes in android_webview/* eugenebut@chromium.org: Please review changes in ios/* Thanks!
3 years, 11 months ago (2017-01-25 23:38:02 UTC) #27
Eugene But (OOO till 7-30)
ios lgtm
3 years, 11 months ago (2017-01-26 00:10:37 UTC) #32
Torne
android_webview LGTM
3 years, 11 months ago (2017-01-26 11:53:00 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2633663003/100001
3 years, 11 months ago (2017-01-26 21:56:59 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/107900) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 11 months ago (2017-01-26 22:22:28 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2633663003/120001
3 years, 11 months ago (2017-01-26 22:48:50 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/310836)
3 years, 10 months ago (2017-01-27 02:17:56 UTC) #45
Mike West
On 2017/01/27 at 02:17:56, commit-bot wrote: > Try jobs failed on following builders: > linux_chromium_chromeos_ozone_rel_ng ...
3 years, 10 months ago (2017-01-27 08:19:53 UTC) #46
jww
Yup, I already checked it out last night and figured out the issue, but SSH ...
3 years, 10 months ago (2017-01-27 14:55:35 UTC) #47
Mike West
On 2017/01/27 at 14:55:35, jww wrote: > Yup, I already checked it out last night ...
3 years, 10 months ago (2017-01-27 14:57:45 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2633663003/160001
3 years, 10 months ago (2017-01-27 16:56:16 UTC) #51
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 18:18:31 UTC) #54
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/a26e439d02baa9514b09c637bf5f...

Powered by Google App Engine
This is Rietveld 408576698