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

Issue 2275833002: [Offline Pages] Don't remove user-requested pages when deleting cache. (Closed)

Created:
4 years, 3 months ago by romax
Modified:
4 years, 3 months ago
CC:
chromium-reviews, msramek+watch_chromium.org, dewittj+watch_chromium.org, fgorski+watch_chromium.org, romax+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, markusheintz_, dimich+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] Don't remove user-requested pages when deleting cache. When deleting cache in settings, the user-requested pages shouldn't be deleted. Adding a check for namespace in the method called by browsing data remover, filtering out the user-requested pages. BUG=640416 Committed: https://crrev.com/66a4eb704d562fb4791ac7b84c1d45ce2756e62f Cr-Commit-Position: refs/heads/master@{#414180}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -23 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M components/offline_pages/offline_page_model.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/offline_pages/offline_page_model_impl.h View 1 3 chunks +8 lines, -4 lines 0 comments Download
M components/offline_pages/offline_page_model_impl.cc View 1 2 chunks +13 lines, -6 lines 0 comments Download
M components/offline_pages/offline_page_model_impl_unittest.cc View 6 chunks +40 lines, -4 lines 0 comments Download
M components/offline_pages/stub_offline_page_model.h View 1 chunk +3 lines, -2 lines 0 comments Download
M components/offline_pages/stub_offline_page_model.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (11 generated)
romax
msramek@chromium.org: Please review changes in c/b/browsing_data dimich@chromium.org: Please review changes in components/offline_pages/
4 years, 3 months ago (2016-08-24 00:58:12 UTC) #2
Dmitry Titov
lgtm, thanks!
4 years, 3 months ago (2016-08-24 01:07:15 UTC) #5
msramek
Code-wise LGTM, but just to confirm: The pages we're not deleting are the ones that ...
4 years, 3 months ago (2016-08-24 09:12:10 UTC) #8
fgorski
lgtm with suggestion to rename a method. https://codereview.chromium.org/2275833002/diff/1/components/offline_pages/offline_page_model_impl.cc File components/offline_pages/offline_page_model_impl.cc (right): https://codereview.chromium.org/2275833002/diff/1/components/offline_pages/offline_page_model_impl.cc#newcode1064 components/offline_pages/offline_page_model_impl.cc:1064: bool OfflinePageModelImpl::IsPageUserRequested( ...
4 years, 3 months ago (2016-08-24 16:22:04 UTC) #10
romax
msramek@, yes the user initiated offline pages will show as part of downloads. Changed the ...
4 years, 3 months ago (2016-08-24 17:26:22 UTC) #11
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/2275833002/20001
4 years, 3 months ago (2016-08-24 17:27:10 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/129091)
4 years, 3 months ago (2016-08-24 20:46:43 UTC) #16
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/2275833002/20001
4 years, 3 months ago (2016-08-24 21:15:50 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-24 22:42:24 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-08-24 22:44:48 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/66a4eb704d562fb4791ac7b84c1d45ce2756e62f
Cr-Commit-Position: refs/heads/master@{#414180}

Powered by Google App Engine
This is Rietveld 408576698