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

Issue 2810913002: [Offline pages] Add new Error page failure status inside the MHTML archiver and update correspondin… (Closed)

Created:
3 years, 8 months ago by chili
Modified:
3 years, 8 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, asvitkine+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages] Add new Error page failure status inside the MHTML archiver and update corresponding histogram. This should record number of error pages we are seeing being recorded by Prerender and also eliminate this altogether. BUG=709639, 692688 Review-Url: https://codereview.chromium.org/2810913002 Cr-Commit-Position: refs/heads/master@{#464087} Committed: https://chromium.googlesource.com/chromium/src/+/2d54317a97881484713af4069f01677e924dc87e

Patch Set 1 #

Total comments: 8

Patch Set 2 : test update #

Patch Set 3 : add comments and fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -0 lines) Patch
M chrome/browser/android/offline_pages/offline_page_mhtml_archiver.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc View 1 2 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_mhtml_archiver_unittest.cc View 1 4 chunks +36 lines, -0 lines 0 comments Download
M components/offline_pages/core/offline_page_archiver.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/offline_pages/core/offline_page_model_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/offline_pages/core/offline_page_types.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
chili
Double checking on tests right now. Can you take a look to see if this ...
3 years, 8 months ago (2017-04-10 20:25:41 UTC) #4
chili
https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc File chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc (right): https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc#newcode69 chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc:69: content::PageType::PAGE_TYPE_NORMAL) { The error page types are: NORMAL, ERROR, ...
3 years, 8 months ago (2017-04-10 20:27:19 UTC) #5
Pete Williamson
A question on the approach - Should this code live in the offliner instead of ...
3 years, 8 months ago (2017-04-10 20:54:16 UTC) #6
romax
On 2017/04/10 20:54:16, Pete Williamson wrote: > A question on the approach - Should this ...
3 years, 8 months ago (2017-04-10 21:19:06 UTC) #7
fgorski
Not saving error pages in general makes sense, regardless if we are going through offliner ...
3 years, 8 months ago (2017-04-10 21:19:17 UTC) #8
romax
https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc File chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc (right): https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc#newcode69 chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc:69: content::PageType::PAGE_TYPE_NORMAL) { On 2017/04/10 20:27:18, chili wrote: > The ...
3 years, 8 months ago (2017-04-10 21:19:34 UTC) #9
Pete Williamson
On 2017/04/10 20:54:16, Pete Williamson wrote: > A question on the approach - Should this ...
3 years, 8 months ago (2017-04-11 17:08:32 UTC) #12
Pete Williamson
lgtm with nit https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc File chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc (right): https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc#newcode69 chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc:69: content::PageType::PAGE_TYPE_NORMAL) { On 2017/04/10 20:27:18, chili ...
3 years, 8 months ago (2017-04-11 17:08:50 UTC) #13
chili
https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc File chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc (right): https://codereview.chromium.org/2810913002/diff/1/chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc#newcode69 chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc:69: content::PageType::PAGE_TYPE_NORMAL) { On 2017/04/10 21:19:34, romax wrote: > On ...
3 years, 8 months ago (2017-04-11 20:40:16 UTC) #16
chili
+holte Sorry! Added you to the wrong CL >_<
3 years, 8 months ago (2017-04-11 22:07:32 UTC) #22
Steven Holte
histograms lgtm
3 years, 8 months ago (2017-04-11 23:21:26 UTC) #23
fgorski
lgtm
3 years, 8 months ago (2017-04-12 16:05:57 UTC) #24
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/2810913002/40001
3 years, 8 months ago (2017-04-12 17:08:58 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 18:12:04 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2d54317a97881484713af4069f01...

Powered by Google App Engine
This is Rietveld 408576698