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

Issue 2013633003: Adding a command-line flag to set MHTML generation options. (Closed)

Created:
4 years, 7 months ago by dimich
Modified:
4 years, 7 months ago
CC:
chromium-reviews, asanka, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding a command-line flag to set MHTML generation options. It is a content-level flag (since MHTML generation is a content feature) and initial set of options is to follow standard cache-control: no-save option to avoid saving MHTML files with potentially private/transient information. BUG=614505 Committed: https://crrev.com/0710ba43dca3d29b5658e8aa221ac7adc6e3cfb5 Cr-Commit-Position: refs/heads/master@{#395820}

Patch Set 1 #

Total comments: 2

Patch Set 2 : feedback #

Patch Set 3 : remove empty line #

Total comments: 6

Patch Set 4 : feedback + fixed test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
M chrome/app/generated_resources.grd View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/public/common/mhtml_generation_params.cc View 1 2 3 1 chunk +17 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
Dmitry Titov
4 years, 7 months ago (2016-05-24 22:52:19 UTC) #2
dewittj
lgtm https://codereview.chromium.org/2013633003/diff/1/content/browser/download/save_package.cc File content/browser/download/save_package.cc (right): https://codereview.chromium.org/2013633003/diff/1/content/browser/download/save_package.cc#newcode347 content/browser/download/save_package.cc:347: std::string MHTMLGeneratorOptionFlag = Another option would be to ...
4 years, 7 months ago (2016-05-24 23:03:21 UTC) #3
Dmitry Titov
On 2016/05/24 23:03:21, dewittj wrote: > lgtm > > https://codereview.chromium.org/2013633003/diff/1/content/browser/download/save_package.cc > File content/browser/download/save_package.cc (right): > ...
4 years, 7 months ago (2016-05-24 23:29:06 UTC) #4
Dmitry Titov
+ creis@ for OWNERS look in content/
4 years, 7 months ago (2016-05-24 23:29:57 UTC) #6
Charlie Reis
content/ LGTM with nits, though there's a failing about:flags check in the try jobs. https://codereview.chromium.org/2013633003/diff/40001/content/public/common/mhtml_generation_params.cc ...
4 years, 7 months ago (2016-05-25 00:01:33 UTC) #7
Dmitry Titov
https://codereview.chromium.org/2013633003/diff/40001/content/public/common/mhtml_generation_params.cc File content/public/common/mhtml_generation_params.cc (right): https://codereview.chromium.org/2013633003/diff/40001/content/public/common/mhtml_generation_params.cc#newcode15 content/public/common/mhtml_generation_params.cc:15: On 2016/05/25 00:01:33, Charlie Reis wrote: > nit: No ...
4 years, 7 months ago (2016-05-25 00:27:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2013633003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2013633003/60001
4 years, 7 months ago (2016-05-25 00:29:03 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/189278)
4 years, 7 months ago (2016-05-25 00:40:22 UTC) #13
Dmitry Titov
+ asvitkine@chromium.org for histograms.xml
4 years, 7 months ago (2016-05-25 00:42:14 UTC) #15
Dmitry Titov
+ isherman@ for histograms.xml (asvitkine seems ot be OOO)
4 years, 7 months ago (2016-05-25 00:44:05 UTC) #17
Ilya Sherman
histograms.xml lgtm
4 years, 7 months ago (2016-05-25 01:36:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2013633003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2013633003/60001
4 years, 7 months ago (2016-05-25 07:14:08 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-25 07:18:23 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 07:19:51 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0710ba43dca3d29b5658e8aa221ac7adc6e3cfb5
Cr-Commit-Position: refs/heads/master@{#395820}

Powered by Google App Engine
This is Rietveld 408576698