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

Issue 2851493003: Remove unused CookiePreferences from report sender and never send cookies (Closed)

Created:
3 years, 7 months ago by meacer
Modified:
3 years, 7 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, grt+watch_chromium.org, net-reviews_chromium.org, timvolodine, vakh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused CookiePreferences from report sender and never send cookies All non-test callers of ReportSender use CookiePreferences::DO_NOT_SEND_COOKIES. Remove the enum altogether. BUG=716098 Review-Url: https://codereview.chromium.org/2851493003 Cr-Commit-Position: refs/heads/master@{#468150} Committed: https://chromium.googlesource.com/chromium/src/+/49c44f6ba26559359103400eb2480a832955d71f

Patch Set 1 #

Patch Set 2 : Fix iOS build #

Total comments: 2

Patch Set 3 : comments and rebase #

Patch Set 4 : Fix rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -108 lines) Patch
M chrome/browser/profiles/profile_io_data.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/certificate_reporting_service.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/certificate_reporting_service_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/mock_permission_report_sender.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/safe_browsing/notification_image_reporter.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/permission_reporter.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/ssl/chrome_expect_ct_reporter.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/certificate_reporting/error_reporter.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M components/certificate_reporting/error_reporter.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M components/certificate_reporting/error_reporter_unittest.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/report_sender.h View 1 2 2 chunks +3 lines, -11 lines 0 comments Download
M net/url_request/report_sender.cc View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
M net/url_request/report_sender_unittest.cc View 1 2 3 12 chunks +11 lines, -44 lines 0 comments Download

Messages

Total messages: 35 (21 generated)
meacer
PTAL?
3 years, 7 months ago (2017-04-27 19:54:34 UTC) #10
estark
lgtm. I wonder why we even had that lever... anyway, thanks for the cleanup.
3 years, 7 months ago (2017-04-27 22:20:01 UTC) #13
meacer
Owners, PTAL? jialiul: chrome/safe_browsing/ rch: net/ and chrome/browser/profiles/profile_io_data.cc sdefresne: ios/ Thanks.
3 years, 7 months ago (2017-04-27 22:24:51 UTC) #15
Jialiu Lin
LGTM. Thanks for cleaning these up!
3 years, 7 months ago (2017-04-28 00:03:16 UTC) #16
Ryan Hamilton
chrome/browser/profiles/profile_io_data.cc: LGTM
3 years, 7 months ago (2017-04-28 03:29:34 UTC) #17
Ryan Hamilton
chrome/browser/profiles/profile_io_data.cc: LGTM
3 years, 7 months ago (2017-04-28 03:29:37 UTC) #18
sdefresne
ios lgtm https://codereview.chromium.org/2851493003/diff/20001/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc File ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc (right): https://codereview.chromium.org/2851493003/diff/20001/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc#newcode366 ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc:366: certificate_report_sender_.reset( nit: can you change this to ...
3 years, 7 months ago (2017-04-28 10:12:55 UTC) #19
meacer
https://codereview.chromium.org/2851493003/diff/20001/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc File ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc (right): https://codereview.chromium.org/2851493003/diff/20001/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc#newcode366 ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc:366: certificate_report_sender_.reset( On 2017/04/28 10:12:54, sdefresne wrote: > nit: can ...
3 years, 7 months ago (2017-04-28 19:03:07 UTC) #20
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/2851493003/40001
3 years, 7 months ago (2017-04-28 19:04:31 UTC) #23
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/200852) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-04-28 19:15:56 UTC) #25
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/2851493003/60001
3 years, 7 months ago (2017-04-28 19:35:08 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/415371)
3 years, 7 months ago (2017-04-28 21:04:36 UTC) #30
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/2851493003/60001
3 years, 7 months ago (2017-04-28 21:23:21 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 22:06:23 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/49c44f6ba26559359103400eb248...

Powered by Google App Engine
This is Rietveld 408576698