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

Issue 1823593002: Pass the time parameter to PrefServiceBridge.clearBrowsingData() explicitly. (Closed)

Created:
4 years, 9 months ago by msramek
Modified:
4 years, 9 months ago
Reviewers:
PEConn, newt (away)
CC:
chromium-reviews, tim+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass the time parameter to PrefServiceBridge.clearBrowsingData() explicitly. The browsing data deletion on Android relied on the prefs::kDeleteTimePeriod to determine the time period selection, similarly as we do on Desktop. However, this is incorrect with respect to callsites in ChromeApplication and ConfirmImportSyncDataDialog, that rely on the time period used being EVERYTHING. Pass the time time period parameter explicitly, so that different callsites can specify which time period to use. BUG=595876 Committed: https://crrev.com/5f5b82dc246c721ceb634983719494519694e57b Cr-Commit-Position: refs/heads/master@{#382317}

Patch Set 1 #

Messages

Total messages: 11 (3 generated)
msramek
Hi guys, please have a look! Please see https://bugs.chromium.org/p/chromium/issues/detail?id=595876#c17 for more details. Thanks, Martin
4 years, 9 months ago (2016-03-21 10:58:19 UTC) #2
newt (away)
lgtm. I think this is a good change independent of the bug it fixes. Thanks!
4 years, 9 months ago (2016-03-21 17:01:52 UTC) #3
msramek
Thanks, Newt! I'll land the fix now to merge it ASAP, and will think of ...
4 years, 9 months ago (2016-03-21 17:16:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1823593002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1823593002/1
4 years, 9 months ago (2016-03-21 17:17:33 UTC) #6
newt (away)
On 2016/03/21 17:16:56, msramek wrote: > Thanks, Newt! > > I'll land the fix now ...
4 years, 9 months ago (2016-03-21 17:25:44 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-21 17:27:32 UTC) #8
msramek
On 2016/03/21 17:25:44, newt wrote: > On 2016/03/21 17:16:56, msramek wrote: > > Thanks, Newt! ...
4 years, 9 months ago (2016-03-21 17:29:56 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 17:30:05 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5f5b82dc246c721ceb634983719494519694e57b
Cr-Commit-Position: refs/heads/master@{#382317}

Powered by Google App Engine
This is Rietveld 408576698