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

Issue 1475883003: [Offline pages] Fixing crashes caused by access to offline pages marked for deletion (Closed)

Created:
5 years ago by fgorski
Modified:
5 years ago
Reviewers:
Michael Courage
CC:
chromium-reviews, jianli
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages] Fixing crashes caused by access to offline pages marked for deletion This patch fixes the problems caused by: * HasOfflinePages * GetPageByBookmarkId * GetPageByOfflineURL * GetPageByOnlineURL All of which allow for access to the offline page that is marked for deletion, which means there is no valid bookmark corresponding to them. This leads to crashes in the bookmark UI, as well as exposing functionality that should not work. BUG=560424 Committed: https://crrev.com/1a6c2e1840f8b64c242ddb680b7de34ba27520c6 Cr-Commit-Position: refs/heads/master@{#361746}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M components/offline_pages/offline_page_model.cc View 1 4 chunks +14 lines, -4 lines 0 comments Download
M components/offline_pages/offline_page_model_unittest.cc View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
fgorski
PTAL
5 years ago (2015-11-25 18:50:56 UTC) #2
Michael Courage
lgtm https://codereview.chromium.org/1475883003/diff/1/components/offline_pages/offline_page_model.cc File components/offline_pages/offline_page_model.cc (right): https://codereview.chromium.org/1475883003/diff/1/components/offline_pages/offline_page_model.cc#newcode258 components/offline_pages/offline_page_model.cc:258: for (const auto& iter : offline_pages_) { optional ...
5 years ago (2015-11-25 19:00:58 UTC) #3
fgorski
addressed https://codereview.chromium.org/1475883003/diff/1/components/offline_pages/offline_page_model.cc File components/offline_pages/offline_page_model.cc (right): https://codereview.chromium.org/1475883003/diff/1/components/offline_pages/offline_page_model.cc#newcode258 components/offline_pages/offline_page_model.cc:258: for (const auto& iter : offline_pages_) { On ...
5 years ago (2015-11-25 19:27:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1475883003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1475883003/20001
5 years ago (2015-11-25 20:58:06 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-25 22:10:40 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-25 22:12:18 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1a6c2e1840f8b64c242ddb680b7de34ba27520c6
Cr-Commit-Position: refs/heads/master@{#361746}

Powered by Google App Engine
This is Rietveld 408576698