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

Issue 2596913002: [Offline pages] Update background loader offliner to return error when (Closed)

Created:
4 years ago by chili
Modified:
3 years, 11 months ago
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 pages] Update background loader offliner to return error when renderer crashes or when the internal contents is destroyed BUG=665242 Committed: https://crrev.com/b13fb4e397a21917ac67a38dc7d2312e2221aac8 Cr-Commit-Position: refs/heads/master@{#441168}

Patch Set 1 #

Total comments: 2

Patch Set 2 : tests and code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -4 lines) Patch
M chrome/browser/android/offline_pages/background_loader_offliner.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/background_loader_offliner.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc View 1 3 chunks +37 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (8 generated)
chili
Small update to possible "failed" loading scenarios. Unfortunately I have not yet found a good ...
4 years ago (2016-12-21 18:04:03 UTC) #2
Pete Williamson
https://codereview.chromium.org/2596913002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc File chrome/browser/android/offline_pages/background_loader_offliner.cc (right): https://codereview.chromium.org/2596913002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode100 chrome/browser/android/offline_pages/background_loader_offliner.cc:100: void BackgroundLoaderOffliner::RenderProcessGone( What would cause a call to RenderProcessGone? ...
4 years ago (2016-12-21 20:49:29 UTC) #3
chili
On 2016/12/21 20:49:29, Pete Williamson wrote: > https://codereview.chromium.org/2596913002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc > File chrome/browser/android/offline_pages/background_loader_offliner.cc (right): > > https://codereview.chromium.org/2596913002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode100 ...
4 years ago (2016-12-21 23:40:40 UTC) #6
Pete Williamson
lgtm
4 years ago (2016-12-21 23:50:32 UTC) #7
dougarnett
As for testing, why not call RenderProcessGone() or WebContentsDestroyed() on the BackgroundLoaderOffliner to simulate a ...
4 years ago (2016-12-22 01:37:53 UTC) #8
chili
Sorry for delay. Took a few tries to get the tests right PTAL
3 years, 11 months ago (2016-12-31 23:54:04 UTC) #9
dougarnett
lgtm Thanks for adding the tests
3 years, 11 months ago (2017-01-03 17:06:08 UTC) #10
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/2596913002/20001
3 years, 11 months ago (2017-01-03 18:07:04 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-03 18:36:56 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b13fb4e397a21917ac67a38dc7d2312e2221aac8 Cr-Commit-Position: refs/heads/master@{#441168}
3 years, 11 months ago (2017-01-03 18:40:20 UTC) #18
Pete Williamson
3 years, 11 months ago (2017-01-03 20:51:14 UTC) #19
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698