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

Issue 2270063005: Add support for time based deletion of browsing data on iOS (Closed)

Created:
4 years, 3 months ago by ioanap
Modified:
4 years, 3 months ago
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, sdefresne+watch_chromium.org, melandory, bzanotti
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for time based deletion of browsing data on iOS Change existing browsing data deletion methods to take a browsing_data::TimePeriod as a parameter. Keep old methods around until all call sites are changed downstream. BUG=642334 Committed: https://crrev.com/f433931685d2eefb27a0e987c4361dea6fbb5e22 Cr-Commit-Position: refs/heads/master@{#419433}

Patch Set 1 #

Patch Set 2 : Remove CalculateBeginDeleteTime #

Patch Set 3 : Added partial removal for cache #

Total comments: 6

Patch Set 4 : Addressed comments #

Total comments: 4

Patch Set 5 : Addressed comments #

Patch Set 6 : Updated comment in AccountConsistencyService #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -43 lines) Patch
M components/signin/ios/browser/account_consistency_service.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/browsing_data/browsing_data_remover_helper.h View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download
M ios/chrome/browser/browsing_data/browsing_data_remover_helper.cc View 1 2 3 5 chunks +12 lines, -4 lines 0 comments Download
M ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.h View 1 3 chunks +2 lines, -7 lines 0 comments Download
M ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm View 1 2 3 4 5 3 chunks +16 lines, -20 lines 0 comments Download
M ios/chrome/browser/signin/browser_state_data_remover.mm View 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/commands/clear_browsing_data_command.h View 1 2 3 4 3 chunks +13 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/commands/clear_browsing_data_command.mm View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M ios/crnet/crnet_environment.mm View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ios/net/http_cache_helper.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ios/net/http_cache_helper.cc View 1 2 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 46 (29 generated)
ioanap
Hi Martin, Do you want to take a first look ? Thank you, Ioana
4 years, 3 months ago (2016-08-29 13:48:07 UTC) #13
msramek
*confusedly looks over the right shoulder* O.o Thanks, this is on the right path. Are ...
4 years, 3 months ago (2016-08-29 14:21:00 UTC) #14
ioanap
Addressed comments. Thanks, Ioana https://codereview.chromium.org/2270063005/diff/40001/ios/chrome/browser/browsing_data/browsing_data_remover_helper.cc File ios/chrome/browser/browsing_data/browsing_data_remover_helper.cc (right): https://codereview.chromium.org/2270063005/diff/40001/ios/chrome/browser/browsing_data/browsing_data_remover_helper.cc#newcode98 ios/chrome/browser/browsing_data/browsing_data_remover_helper.cc:98: browsing_data::TimePeriod time_period = current_removal_info_->time_period; On ...
4 years, 3 months ago (2016-08-30 11:32:08 UTC) #17
msramek
LGTM!
4 years, 3 months ago (2016-08-30 11:39:55 UTC) #18
ioanap
+droger Please take a look! Thank you, Ioana
4 years, 3 months ago (2016-08-30 12:19:39 UTC) #24
droger
lgtm https://codereview.chromium.org/2270063005/diff/60001/ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm File ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm (right): https://codereview.chromium.org/2270063005/diff/60001/ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm#newcode213 ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm:213: // they can't be more than a day ...
4 years, 3 months ago (2016-08-30 13:00:48 UTC) #25
msramek
https://codereview.chromium.org/2270063005/diff/60001/ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm File ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm (right): https://codereview.chromium.org/2270063005/diff/60001/ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm#newcode213 ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm:213: // they can't be more than a day old, ...
4 years, 3 months ago (2016-08-30 14:14:35 UTC) #26
ioanap
Addressed comments. Thank you, Ioana https://codereview.chromium.org/2270063005/diff/60001/ios/chrome/browser/ui/commands/clear_browsing_data_command.mm File ios/chrome/browser/ui/commands/clear_browsing_data_command.mm (right): https://codereview.chromium.org/2270063005/diff/60001/ios/chrome/browser/ui/commands/clear_browsing_data_command.mm#newcode35 ios/chrome/browser/ui/commands/clear_browsing_data_command.mm:35: mask:(int)mask { On 2016/08/30 ...
4 years, 3 months ago (2016-08-30 15:08:51 UTC) #27
ioanap
msarda@chromium.org: Please review changes in - components/signin/ios/browser/account_consistency_service.h Thank you, Ioana
4 years, 3 months ago (2016-09-06 16:18:14 UTC) #29
msarda
CC+ bzanotti (FYI)
4 years, 3 months ago (2016-09-06 16:32:56 UTC) #30
msarda
lgtm
4 years, 3 months ago (2016-09-06 16:36:40 UTC) #31
Eugene But (OOO till 7-30)
Ioana, are you sure that this CL actually changes the behavior on iOS? After switching ...
4 years, 3 months ago (2016-09-07 16:16:04 UTC) #33
ioanap
On 2016/09/07 16:16:04, Eugene But wrote: > Ioana, are you sure that this CL actually ...
4 years, 3 months ago (2016-09-07 16:26:22 UTC) #34
Eugene But (OOO till 7-30)
On 2016/09/07 16:26:22, ioanap wrote: > On 2016/09/07 16:16:04, Eugene But wrote: > > Ioana, ...
4 years, 3 months ago (2016-09-07 16:29:45 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/2270063005/100001
4 years, 3 months ago (2016-09-19 12:08:51 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-19 12:13:30 UTC) #44
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 12:15:42 UTC) #46
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f433931685d2eefb27a0e987c4361dea6fbb5e22
Cr-Commit-Position: refs/heads/master@{#419433}

Powered by Google App Engine
This is Rietveld 408576698