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

Issue 2850943002: If MHTML saving is cancelled, delete the page afterwards. (Closed)

Created:
3 years, 7 months ago by Pete Williamson
Modified:
3 years, 7 months ago
Reviewers:
Dmitry Titov, chili
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/heads/master
Project:
chromium
Visibility:
Public.

Description

If MHTML saving is cancelled, delete the page afterwards. BUG=705097 Review-Url: https://codereview.chromium.org/2850943002 Cr-Commit-Position: refs/heads/master@{#468515} Committed: https://chromium.googlesource.com/chromium/src/+/2915191f0a64f34fcdf8c4e4a0a5d89b2271d816

Patch Set 1 #

Total comments: 2

Patch Set 2 : Defer cancel completion callback until after page is deleted. #

Total comments: 1

Patch Set 3 : Removed comment. #

Patch Set 4 : Fix unit tests on Android N5X swarming bot #

Patch Set 5 : Fix unit tests on Android N5X swarming bot #

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

Messages

Total messages: 27 (15 generated)
Pete Williamson
3 years, 7 months ago (2017-04-28 21:32:32 UTC) #2
chili
general lgtm question to consider in comments https://codereview.chromium.org/2850943002/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/2850943002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode423 chrome/browser/android/offline_pages/background_loader_offliner.cc:423: offline_ids, base::Bind(&LocalDeletePageCallback)); ...
3 years, 7 months ago (2017-04-29 00:11:33 UTC) #7
Pete Williamson
https://codereview.chromium.org/2850943002/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/2850943002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode423 chrome/browser/android/offline_pages/background_loader_offliner.cc:423: offline_ids, base::Bind(&LocalDeletePageCallback)); On 2017/04/29 00:11:33, chili wrote: > should ...
3 years, 7 months ago (2017-04-29 00:14:44 UTC) #8
chili
On 2017/04/29 00:14:44, Pete Williamson wrote: > https://codereview.chromium.org/2850943002/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/2850943002/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode423 ...
3 years, 7 months ago (2017-04-29 00:34:56 UTC) #9
Pete Williamson
On 2017/04/29 00:34:56, chili wrote: > On 2017/04/29 00:14:44, Pete Williamson wrote: > > > ...
3 years, 7 months ago (2017-04-29 00:52:48 UTC) #10
chili
On 2017/04/29 00:52:48, Pete Williamson wrote: > On 2017/04/29 00:34:56, chili wrote: > > On ...
3 years, 7 months ago (2017-04-29 04:36:16 UTC) #11
Pete Williamson
On 2017/04/29 04:36:16, chili wrote: > On 2017/04/29 00:52:48, Pete Williamson wrote: > > On ...
3 years, 7 months ago (2017-05-01 16:37:41 UTC) #12
Pete Williamson
On 2017/05/01 16:37:41, Pete Williamson wrote: > On 2017/04/29 04:36:16, chili wrote: > > On ...
3 years, 7 months ago (2017-05-01 22:18:42 UTC) #13
chili
still lgtm Thanks for making the changes!
3 years, 7 months ago (2017-05-01 22:34:05 UTC) #16
Dmitry Titov
lgtm with a nit: https://codereview.chromium.org/2850943002/diff/20001/chrome/browser/android/offline_pages/background_loader_offliner.cc File chrome/browser/android/offline_pages/background_loader_offliner.cc (right): https://codereview.chromium.org/2850943002/diff/20001/chrome/browser/android/offline_pages/background_loader_offliner.cc#newcode426 chrome/browser/android/offline_pages/background_loader_offliner.cc:426: // We don't return to ...
3 years, 7 months ago (2017-05-01 23:00:38 UTC) #17
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/2850943002/80001
3 years, 7 months ago (2017-05-02 00:46:20 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 00:51:25 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2915191f0a64f34fcdf8c4e4a0a5...

Powered by Google App Engine
This is Rietveld 408576698