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 1970423002: [Offline Pages] Clear offline pages when user clears cache. (Closed)

Created:
4 years, 7 months ago by romax
Modified:
4 years, 7 months ago
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Clear offline pages when user clears cache. Since offline pages are no longer associated with bookmark, we're considering them as 'cache' instead of 'site data'. Hence making the change to correct the behavior when removing browsing data, move REMOVE_OFFLINE_PAGE_DATA from REMOVE_SITE_DATA and add REMOVE_CACHE as a condition when deciding to remove offline pages. BUG=611225 Committed: https://crrev.com/4150bae6fb7993b3675e8430dc65fd941268aa0b Cr-Commit-Position: refs/heads/master@{#393702}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding comments. #

Total comments: 1

Patch Set 3 : fix typo #

Patch Set 4 : removing unused enum #

Patch Set 5 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
romax
Removing REMOVE_OFFLINE_PAGE from REMOVE_SITE_DATA, and if user is clearing cache, we clear offline page. Since ...
4 years, 7 months ago (2016-05-13 01:28:59 UTC) #2
msramek
Drive-by! Clarifying question: Does this just turn the offlined page into a regular bookmark, or ...
4 years, 7 months ago (2016-05-13 08:31:16 UTC) #4
fgorski
Please explain the change properly in the issue description, and address the comment. https://codereview.chromium.org/1970423002/diff/1/chrome/browser/browsing_data/browsing_data_remover.h File ...
4 years, 7 months ago (2016-05-13 16:14:58 UTC) #5
romax
On 2016/05/13 08:31:16, msramek wrote: > Drive-by! > > Clarifying question: Does this just turn ...
4 years, 7 months ago (2016-05-13 17:29:14 UTC) #6
romax
Addressing comments https://codereview.chromium.org/1970423002/diff/1/chrome/browser/browsing_data/browsing_data_remover.h File chrome/browser/browsing_data/browsing_data_remover.h (left): https://codereview.chromium.org/1970423002/diff/1/chrome/browser/browsing_data/browsing_data_remover.h#oldcode138 chrome/browser/browsing_data/browsing_data_remover.h:138: REMOVE_OFFLINE_PAGE_DATA | On 2016/05/13 16:14:57, fgorski wrote: ...
4 years, 7 months ago (2016-05-13 17:50:01 UTC) #8
fgorski
lgtm with a comment about a comment https://codereview.chromium.org/1970423002/diff/20001/chrome/browser/browsing_data/browsing_data_remover.h File chrome/browser/browsing_data/browsing_data_remover.h (right): https://codereview.chromium.org/1970423002/diff/20001/chrome/browser/browsing_data/browsing_data_remover.h#newcode117 chrome/browser/browsing_data/browsing_data_remover.h:117: // REMOVE_OFFLINE_PAGE_DATA ...
4 years, 7 months ago (2016-05-13 17:59:24 UTC) #9
michaeln
lgtm, since the flag isn't used anywhere you could remove it altogether, it's easy enough ...
4 years, 7 months ago (2016-05-13 20:03:49 UTC) #10
michaeln
On 2016/05/13 20:03:49, michaeln wrote: > lgtm, since the flag isn't used anywhere you could ...
4 years, 7 months ago (2016-05-13 20:07:47 UTC) #11
msramek
On 2016/05/13 17:29:14, romax wrote: > On 2016/05/13 08:31:16, msramek wrote: > > Drive-by! > ...
4 years, 7 months ago (2016-05-13 20:29:55 UTC) #12
msramek
On 2016/05/13 20:07:47, michaeln wrote: > On 2016/05/13 20:03:49, michaeln wrote: > > lgtm, since ...
4 years, 7 months ago (2016-05-13 20:31:44 UTC) #13
romax
I agree that making an aggregate would increase readability, however renaming current REMOVE_CACHE to REMOVE_NET_CACHE ...
4 years, 7 months ago (2016-05-14 00:15:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970423002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970423002/80001
4 years, 7 months ago (2016-05-14 00:16:21 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-14 00:21:37 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-14 00:23:08 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4150bae6fb7993b3675e8430dc65fd941268aa0b
Cr-Commit-Position: refs/heads/master@{#393702}

Powered by Google App Engine
This is Rietveld 408576698