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

Issue 2448143005: Offline Page Cache: do not save a sapshot of a page loaded from a snapshot. (Closed)

Created:
4 years, 1 month ago by carlosk
Modified:
4 years, 1 month ago
Reviewers:
jianli, dewittj
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Offline Page Cache: do not save a snapshot of a page loaded from a snapshot. Offline Page Cache was saving snapshots of pages being loaded from previously saved snapshots, which is unnecessary. This change fixes that by only enabling the saving if the loaded page is not an "offline" page itself. BUG=660106 Committed: https://crrev.com/ff2b583208f110e3217e5879a6681b3e1875f7bb Cr-Commit-Position: refs/heads/master@{#428239}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/android/offline_pages/recent_tab_helper.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (9 generated)
carlosk
jianli@: PTAL.
4 years, 1 month ago (2016-10-27 19:28:03 UTC) #2
dewittj
drive-by: this lgtm but it would be wise to check for race conditions with the ...
4 years, 1 month ago (2016-10-27 19:57:04 UTC) #7
dewittj
race is not possible, I don't see a problem with this.
4 years, 1 month ago (2016-10-27 20:10:18 UTC) #10
jianli
lgtm
4 years, 1 month ago (2016-10-28 01:05:10 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/2448143005/1
4 years, 1 month ago (2016-10-28 01:09:23 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-28 02:09:14 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 02:10:59 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ff2b583208f110e3217e5879a6681b3e1875f7bb
Cr-Commit-Position: refs/heads/master@{#428239}

Powered by Google App Engine
This is Rietveld 408576698