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

Issue 10069014: Save Page As MHTML (Closed)

Created:
8 years, 8 months ago by benjhayden
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Save Page As MHTML --save-page-as-mhtml disables saving pages as html-only and complete with sub-resources in a sibling directory, and enables only saving pages as complete with sub-resources in a single MHTML (MIME-HTML) text file. The SavePackage class supports all three options, wich will allow saving complete pages to gdata, and may simplify file management for users. If few enough users need the many-files option, we may be able to remove it and most/all of the SavePackage system. The generated MHTML is viewable in Chrome on all 4 OSs and Opera (at least on windows). The generated MHTML is not viewable in chrome when loaded via http[s], only via file://. http://code.google.com/p/chromium-os/issues/detail?id=28654 Chrome recognizes both '.mht' and '.mhtml' as MHTML, however '.mhtml' is more google-able, so that is the default extension when saving MHTML files. Chrome does not sniff '.html' files to see if they are actually MHTML, so it will incorrectly render such mis-named MHTML files. It is not viewable in Firefox. Firefox tries to help you either open it in another program or download it. There are extensions that provide support for MHTML: MAFF, and UnMHT are two. It is not viewable in Safari. Safari does not recognize "mht" or "mhtml" as extensions that it can render. Changing the extension to "html" allows Safari to open it, but Safari does not seem to understand the file format so it's rendered incorrectly. A port of UnMHT is available for Safari. It is not viewable in IE: The webpage cannot be displayed. Most likely cause: •Some content or files on this webpage require a program that you don't have installed. IE supports MHTML, so it may be possible to tweak the mhtml generator to appease both Opera and IE. http://crbug.com/125477 Regarding OOMs: about:memory showed no change when I saved cnn.com as mhtml (1.4MB), so if there was a spike, it either lasted <200ms or was lost in the noise. BUG=120416 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135390

Patch Set 1 #

Patch Set 2 : " #

Total comments: 14

Patch Set 3 : uma #

Patch Set 4 : uma #

Patch Set 5 : comment #

Patch Set 6 : force extension mht #

Patch Set 7 : browsertest #

Patch Set 8 : whitespace #

Total comments: 14

Patch Set 9 : comments #

Total comments: 17

Patch Set 10 : comments #

Patch Set 11 : --save-page-as-mhtml #

Patch Set 12 : rm IDS_SAVE_PAGE_DESC_MHTML #

Total comments: 2

Patch Set 13 : cros #

Total comments: 10

Patch Set 14 : reconnect gdata #

Patch Set 15 : " #

Patch Set 16 : ... #

Patch Set 17 : " #

Patch Set 18 : " #

Patch Set 19 : route mime_type, set temporary #

Patch Set 20 : mock download manager fix #

Patch Set 21 : nonconst nonref params #

Total comments: 20

Patch Set 22 : chromeos gdata works #

Patch Set 23 : non-cros works #

Total comments: 13

Patch Set 24 : comments, test #

Patch Set 25 : comment #

Patch Set 26 : coverity #

Patch Set 27 : comment in GDataDownloadObserver #

Total comments: 5

Patch Set 28 : -osall, extract_actions.py #

Total comments: 11

Patch Set 29 : avoid re-entering #

Total comments: 11

Patch Set 30 : " #

Total comments: 2

Patch Set 31 : SavePackage*Callback #

Patch Set 32 : comment #

Patch Set 33 : merge #

Total comments: 4

Patch Set 34 : : #

Patch Set 35 : " #

Patch Set 36 : kFileSize=2759 #

Patch Set 37 : merge #

Patch Set 38 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -222 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_download_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +42 lines, -27 lines 0 comments Download
M chrome/browser/download/save_package_file_picker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/download/save_package_file_picker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 6 chunks +72 lines, -33 lines 0 comments Download
M chrome/browser/download/save_package_file_picker_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +12 lines, -16 lines 0 comments Download
M chrome/browser/download/save_package_file_picker_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +80 lines, -87 lines 0 comments Download
M chrome/browser/download/save_page_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 8 chunks +82 lines, -5 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/tools/chromeactions.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 9 chunks +12 lines, -1 line 0 comments Download
M content/browser/download/download_item_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +18 lines, -1 line 0 comments Download
M content/browser/download/save_package.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 6 chunks +25 lines, -12 lines 0 comments Download
M content/browser/download/save_package.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 13 chunks +74 lines, -18 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/download_manager_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3 chunks +17 lines, -7 lines 0 comments Download
M content/public/browser/download_manager_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/save_page_type.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -1 line 0 comments Download
M content/test/mock_download_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 79 (0 generated)
benjhayden
8 years, 8 months ago (2012-04-12 14:28:25 UTC) #1
asanka
A couple of high level comments: - Have you thought about how this would interact ...
8 years, 8 months ago (2012-04-12 15:32:18 UTC) #2
benjhayden
PTAL, but I'm still working on how to make mhtml the default option, and how/whether ...
8 years, 8 months ago (2012-04-12 16:52:08 UTC) #3
cbentzel
Please fill in more details on the CL description and include a BUG=/TEST= line
8 years, 8 months ago (2012-04-12 17:29:07 UTC) #4
Randy Smith (Not in Mondays)
On 2012/04/12 16:52:08, benjhayden_chromium wrote: > PTAL, but I'm still working on how to make ...
8 years, 8 months ago (2012-04-12 17:36:55 UTC) #5
cbentzel
I'm gonna remove myself as a reviewer - don't think I'll be able to add ...
8 years, 8 months ago (2012-04-12 17:44:13 UTC) #6
benjhayden
On 2012/04/12 17:36:55, rdsmith wrote: > On 2012/04/12 16:52:08, benjhayden_chromium wrote: > > PTAL, but ...
8 years, 8 months ago (2012-04-12 17:45:57 UTC) #7
Randy Smith (Not in Mondays)
On 2012/04/12 17:45:57, benjhayden_chromium wrote: > On 2012/04/12 17:36:55, rdsmith wrote: > > On 2012/04/12 ...
8 years, 8 months ago (2012-04-12 17:48:47 UTC) #8
asanka
On 2012/04/12 17:48:47, rdsmith wrote: > On 2012/04/12 17:45:57, benjhayden_chromium wrote: > > On 2012/04/12 ...
8 years, 8 months ago (2012-04-12 17:52:34 UTC) #9
Randy Smith (Not in Mondays)
http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc#newcode86 chrome/browser/download/save_package_file_picker.cc:86: suggested_path.Extension().compare(FILE_PATH_LITERAL("html"))) { I may be being naive, but doesn't ...
8 years, 8 months ago (2012-04-12 18:00:02 UTC) #10
achuithb
On 2012/04/12 17:52:34, asanka wrote: > On 2012/04/12 17:48:47, rdsmith wrote: > > On 2012/04/12 ...
8 years, 8 months ago (2012-04-12 19:14:51 UTC) #11
asanka
On 2012/04/12 19:14:51, achuith.bhandarkar wrote: > On 2012/04/12 17:52:34, asanka wrote: > > +1. I ...
8 years, 8 months ago (2012-04-12 19:28:48 UTC) #12
Randy Smith (Not in Mondays)
On 2012/04/12 19:14:51, achuith.bhandarkar wrote: > On 2012/04/12 17:52:34, asanka wrote: > > On 2012/04/12 ...
8 years, 8 months ago (2012-04-12 19:30:17 UTC) #13
achuithb
http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc#newcode36 chrome/browser/download/save_package_file_picker.cc:36: content::SAVE_PAGE_TYPE_AS_COMPLETE_HTML_SINGLE_FILE_MHTML, Just asking here - does this need to ...
8 years, 8 months ago (2012-04-12 19:40:02 UTC) #14
achuithb
I think this should continue to work with the Cros save page file picker. The ...
8 years, 8 months ago (2012-04-12 19:41:46 UTC) #15
achuithb
On 2012/04/12 19:30:17, rdsmith wrote: > On 2012/04/12 19:14:51, achuith.bhandarkar wrote: > > On 2012/04/12 ...
8 years, 8 months ago (2012-04-12 19:42:22 UTC) #16
achuithb
Any plan to add a browser test for this in save_page_browsertest.cc?
8 years, 8 months ago (2012-04-12 19:52:09 UTC) #17
asanka
http://codereview.chromium.org/10069014/diff/5001/content/browser/download/save_package.cc File content/browser/download/save_package.cc (right): http://codereview.chromium.org/10069014/diff/5001/content/browser/download/save_package.cc#newcode318 content/browser/download/save_package.cc:318: void SavePackage::MHTMLGenerated(const FilePath& path, int64 size) { I think ...
8 years, 8 months ago (2012-04-13 15:28:19 UTC) #18
benjhayden
PTAL LMK if I forgot anything besides figuring out whether this might increase OOMs. http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc ...
8 years, 8 months ago (2012-04-13 20:44:11 UTC) #19
Randy Smith (Not in Mondays)
Two high level comments: a) Chris agreed to do the state logic review for save_package.cc; ...
8 years, 8 months ago (2012-04-16 17:45:46 UTC) #20
benjhayden
Hiding the extension broke deduplication. Looking for a simple fix. http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/5001/chrome/browser/download/save_package_file_picker.cc#newcode86 ...
8 years, 8 months ago (2012-04-16 19:08:05 UTC) #21
benjhayden
On 2012/04/16 19:08:05, benjhayden_chromium wrote: > Hiding the extension broke deduplication. Looking for a simple ...
8 years, 8 months ago (2012-04-16 19:23:53 UTC) #22
benjhayden
Hi John! It looks like you wrote the SavePackageFilePicker. I'm trying to make it handle ...
8 years, 8 months ago (2012-04-16 19:37:28 UTC) #23
jam
I actually just separated the code from one file to two (and one stayed in ...
8 years, 8 months ago (2012-04-17 05:00:13 UTC) #24
cbentzel
http://codereview.chromium.org/10069014/diff/24001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/24001/chrome/browser/download/save_package_file_picker.cc#newcode60 chrome/browser/download/save_package_file_picker.cc:60: IDS_SAVE_PAGE_DESC_COMPLETE_SINGLE_FILE, Would be nice to call this MHTML to ...
8 years, 8 months ago (2012-04-17 14:45:34 UTC) #25
benjhayden
Looks like all of the changes to the file picker logic are "just" tiny, simple ...
8 years, 8 months ago (2012-04-17 15:48:44 UTC) #26
benjhayden
Please hold the review while I try something. http://codereview.chromium.org/10069014/diff/24001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/24001/chrome/browser/download/save_package_file_picker.cc#newcode60 chrome/browser/download/save_package_file_picker.cc:60: IDS_SAVE_PAGE_DESC_COMPLETE_SINGLE_FILE, ...
8 years, 8 months ago (2012-04-17 17:14:35 UTC) #27
benjhayden
PTAL
8 years, 8 months ago (2012-04-17 19:36:19 UTC) #28
benjhayden
After much discussion, the plan seems to be to make SavePackageFilePickerChromeOS use SavePackage (which supports ...
8 years, 8 months ago (2012-04-17 20:44:10 UTC) #29
cbentzel
This sounds good to me. On Tue, Apr 17, 2012 at 4:44 PM, <benjhayden@chromium.org> wrote: ...
8 years, 8 months ago (2012-04-17 20:47:40 UTC) #30
cbentzel
http://codereview.chromium.org/10069014/diff/24001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/24001/chrome/browser/download/save_package_file_picker.cc#newcode93 chrome/browser/download/save_package_file_picker.cc:93: file_type_info.extensions.resize(kNumberExtensions); On 2012/04/17 17:14:36, benjhayden_chromium wrote: > On 2012/04/17 ...
8 years, 8 months ago (2012-04-17 20:53:33 UTC) #31
Randy Smith (Not in Mondays)
The biggest question I have is how this handles the issue of delaying apparent completion ...
8 years, 8 months ago (2012-04-18 18:00:55 UTC) #32
benjhayden
http://codereview.chromium.org/10069014/diff/14005/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/14005/chrome/browser/download/save_package_file_picker.cc#newcode88 chrome/browser/download/save_package_file_picker.cc:88: if (ShouldSaveAsMHTML()) { On 2012/04/17 20:53:33, cbentzel wrote: > ...
8 years, 8 months ago (2012-04-18 18:11:18 UTC) #33
benjhayden
http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_page_browsertest.cc File chrome/browser/download/save_page_browsertest.cc (right): http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_page_browsertest.cc#newcode410 chrome/browser/download/save_page_browsertest.cc:410: command_line->AppendSwitch(switches::kSavePageAsMHTML); On 2012/04/18 18:00:55, rdsmith wrote: > Don't you ...
8 years, 8 months ago (2012-04-18 18:19:01 UTC) #34
asanka
http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker_chromeos.cc File chrome/browser/download/save_package_file_picker_chromeos.cc (right): http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker_chromeos.cc#newcode39 chrome/browser/download/save_package_file_picker_chromeos.cc:39: callback_.Run(path, content::SAVE_PAGE_TYPE_AS_MHTML); How does the file get uploaded to ...
8 years, 8 months ago (2012-04-18 18:34:59 UTC) #35
benjhayden
http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker_chromeos.cc File chrome/browser/download/save_package_file_picker_chromeos.cc (right): http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker_chromeos.cc#newcode39 chrome/browser/download/save_package_file_picker_chromeos.cc:39: callback_.Run(path, content::SAVE_PAGE_TYPE_AS_MHTML); On 2012/04/18 18:34:59, asanka wrote: > How ...
8 years, 8 months ago (2012-04-18 18:38:28 UTC) #36
asanka
http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker_chromeos.cc File chrome/browser/download/save_package_file_picker_chromeos.cc (right): http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker_chromeos.cc#newcode39 chrome/browser/download/save_package_file_picker_chromeos.cc:39: callback_.Run(path, content::SAVE_PAGE_TYPE_AS_MHTML); On 2012/04/18 18:38:28, benjhayden_chromium wrote: > On ...
8 years, 8 months ago (2012-04-18 18:50:24 UTC) #37
achuithb
FYI, the http access issue of mhtml files is being worked on: http://code.google.com/p/chromium-os/issues/detail?id=28654
8 years, 8 months ago (2012-04-19 20:07:26 UTC) #38
benjhayden
PTAL
8 years, 8 months ago (2012-04-23 16:16:29 UTC) #39
benjhayden
Apologies, it seems that I still have some things to figure out in the chromeos ...
8 years, 8 months ago (2012-04-23 16:49:45 UTC) #40
benjhayden
PTAL gdata seems to be working now.
8 years, 8 months ago (2012-04-23 18:32:04 UTC) #41
Randy Smith (Not in Mondays)
Could you give a quick sketch of how you're handling the delaying of the download ...
8 years, 8 months ago (2012-04-24 17:23:54 UTC) #42
benjhayden
On 2012/04/24 17:23:54, rdsmith wrote: > Could you give a quick sketch of how you're ...
8 years, 8 months ago (2012-04-24 18:11:41 UTC) #43
benjhayden
http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/38001/chrome/browser/download/save_package_file_picker.cc#newcode81 chrome/browser/download/save_package_file_picker.cc:81: FilePath::StringType default_extension = default_extension_const; On 2012/04/18 18:00:55, rdsmith wrote: ...
8 years, 8 months ago (2012-04-24 18:11:53 UTC) #44
achuithb
http://codereview.chromium.org/10069014/diff/75001/chrome/browser/download/save_package_file_picker.h File chrome/browser/download/save_package_file_picker.h (right): http://codereview.chromium.org/10069014/diff/75001/chrome/browser/download/save_package_file_picker.h#newcode19 chrome/browser/download/save_package_file_picker.h:19: FilePath suggested_path, I don't think you should do this. ...
8 years, 8 months ago (2012-04-24 22:06:09 UTC) #45
achuithb
http://codereview.chromium.org/10069014/diff/75001/content/browser/download/save_package.h File content/browser/download/save_package.h (right): http://codereview.chromium.org/10069014/diff/75001/content/browser/download/save_package.h#newcode94 content/browser/download/save_package.h:94: bool Init(content::SaveFileDownloadCreatedCallback download_created_callback); I'd use a const reference. Also, ...
8 years, 8 months ago (2012-04-24 22:26:05 UTC) #46
achuithb
http://codereview.chromium.org/10069014/diff/75001/chrome/browser/download/save_package_file_picker.h File chrome/browser/download/save_package_file_picker.h (right): http://codereview.chromium.org/10069014/diff/75001/chrome/browser/download/save_package_file_picker.h#newcode19 chrome/browser/download/save_package_file_picker.h:19: FilePath suggested_path, On 2012/04/24 22:06:09, achuith.bhandarkar wrote: > I ...
8 years, 8 months ago (2012-04-24 22:28:14 UTC) #47
achuithb
I was mostly interested in SavePackageFilePickerChromeOS, and it's looking good. Have you had a chance ...
8 years, 8 months ago (2012-04-24 22:30:06 UTC) #48
benjhayden
PTAL The test now works on both cros and non-cros. http://codereview.chromium.org/10069014/diff/75001/chrome/browser/download/save_package_file_picker_chromeos.cc File chrome/browser/download/save_package_file_picker_chromeos.cc (right): http://codereview.chromium.org/10069014/diff/75001/chrome/browser/download/save_package_file_picker_chromeos.cc#newcode23 ...
8 years, 8 months ago (2012-04-26 15:05:57 UTC) #49
asanka
http://codereview.chromium.org/10069014/diff/87005/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/10069014/diff/87005/chrome/browser/about_flags.cc#newcode405 chrome/browser/about_flags.cc:405: "save-page-as-mhtml", // FLAGS::RECORD_UMA Don't forget to run extract_actions.py http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h ...
8 years, 8 months ago (2012-04-26 16:06:19 UTC) #50
asanka
http://codereview.chromium.org/10069014/diff/87005/content/browser/download/download_manager_impl.cc File content/browser/download/download_manager_impl.cc (left): http://codereview.chromium.org/10069014/diff/87005/content/browser/download/download_manager_impl.cc#oldcode596 content/browser/download/download_manager_impl.cc:596: bool DownloadManagerImpl::IsDownloadReadyForCompletion(DownloadItem* download) { On 2012/04/26 16:06:20, asanka wrote: ...
8 years, 8 months ago (2012-04-26 16:11:28 UTC) #51
benjhayden
http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h File chrome/browser/download/save_package_file_picker.h (left): http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h#oldcode20 chrome/browser/download/save_package_file_picker.h:20: const FilePath& suggested_path, On 2012/04/26 16:06:20, asanka wrote: > ...
8 years, 8 months ago (2012-04-26 16:33:36 UTC) #52
asanka
http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h File chrome/browser/download/save_package_file_picker.h (left): http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h#oldcode20 chrome/browser/download/save_package_file_picker.h:20: const FilePath& suggested_path, On 2012/04/26 16:33:36, benjhayden_chromium wrote: > ...
8 years, 8 months ago (2012-04-26 18:15:25 UTC) #53
benjhayden
http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h File chrome/browser/download/save_package_file_picker.h (left): http://codereview.chromium.org/10069014/diff/87005/chrome/browser/download/save_package_file_picker.h#oldcode20 chrome/browser/download/save_package_file_picker.h:20: const FilePath& suggested_path, On 2012/04/26 18:15:25, asanka wrote: > ...
8 years, 8 months ago (2012-04-26 19:00:47 UTC) #54
asanka
http://codereview.chromium.org/10069014/diff/87005/content/browser/download/download_manager_impl.cc File content/browser/download/download_manager_impl.cc (left): http://codereview.chromium.org/10069014/diff/87005/content/browser/download/download_manager_impl.cc#oldcode596 content/browser/download/download_manager_impl.cc:596: bool DownloadManagerImpl::IsDownloadReadyForCompletion(DownloadItem* download) { On 2012/04/26 19:00:48, benjhayden_chromium wrote: ...
8 years, 8 months ago (2012-04-26 19:20:26 UTC) #55
benjhayden
http://codereview.chromium.org/10069014/diff/87005/content/browser/download/download_manager_impl.cc File content/browser/download/download_manager_impl.cc (left): http://codereview.chromium.org/10069014/diff/87005/content/browser/download/download_manager_impl.cc#oldcode596 content/browser/download/download_manager_impl.cc:596: bool DownloadManagerImpl::IsDownloadReadyForCompletion(DownloadItem* download) { On 2012/04/26 19:20:26, asanka wrote: ...
8 years, 8 months ago (2012-04-26 20:09:30 UTC) #56
cbentzel
I'm going to remove myself as a reviewer (again). It looks like you have all ...
8 years, 8 months ago (2012-04-26 20:35:16 UTC) #57
benjhayden
http://codereview.chromium.org/10069014/diff/99004/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/10069014/diff/99004/chrome/browser/about_flags.cc#newcode408 chrome/browser/about_flags.cc:408: kOsAll, On 2012/04/26 20:35:16, cbentzel wrote: > Is this ...
8 years, 8 months ago (2012-04-26 20:49:44 UTC) #58
achuithb
http://codereview.chromium.org/10069014/diff/99004/chrome/browser/download/save_package_file_picker.cc File chrome/browser/download/save_package_file_picker.cc (right): http://codereview.chromium.org/10069014/diff/99004/chrome/browser/download/save_package_file_picker.cc#newcode70 chrome/browser/download/save_package_file_picker.cc:70: return can_save_as_complete_ && On 2012/04/26 20:49:44, benjhayden_chromium wrote: > ...
8 years, 8 months ago (2012-04-26 21:01:45 UTC) #59
asanka
https://chromiumcodereview.appspot.com/10069014/diff/95007/content/browser/download/save_package.cc File content/browser/download/save_package.cc (right): https://chromiumcodereview.appspot.com/10069014/diff/95007/content/browser/download/save_package.cc#newcode1358 content/browser/download/save_package.cc:1358: Finish(); Note that this does a state transition on ...
8 years, 8 months ago (2012-04-27 16:00:55 UTC) #60
benjhayden
I had thought that checking download->IsCompleted() would prevent re-entering Finish(), but I hadn't thought that ...
8 years, 8 months ago (2012-04-27 17:28:52 UTC) #61
Randy Smith (Not in Mondays)
Several points of concern over use of callbacks. Feel free to grab me and a ...
8 years, 8 months ago (2012-04-27 18:24:04 UTC) #62
Randy Smith (Not in Mondays)
Sorry, one other thing: At some point we need to look deeper into why our ...
8 years, 8 months ago (2012-04-27 18:25:20 UTC) #63
benjhayden
My linux desktop is turned off for the weekend so I'll handle the comments requesting ...
8 years, 7 months ago (2012-04-28 19:09:03 UTC) #64
benjhayden
PTAL http://codereview.chromium.org/10069014/diff/95007/chrome/browser/download/chrome_download_manager_delegate.h File chrome/browser/download/chrome_download_manager_delegate.h (right): http://codereview.chromium.org/10069014/diff/95007/chrome/browser/download/chrome_download_manager_delegate.h#newcode93 chrome/browser/download/chrome_download_manager_delegate.h:93: #endif On 2012/04/27 18:24:04, rdsmith wrote: > It ...
8 years, 7 months ago (2012-04-30 13:37:19 UTC) #65
Randy Smith (Not in Mondays)
LGTM with nits below and Very Next CL (:-}) trying to fix the MaybeCompleteDownload mess. ...
8 years, 7 months ago (2012-05-01 17:53:50 UTC) #66
benjhayden
http://codereview.chromium.org/10069014/diff/95007/content/public/browser/download_manager_delegate.h File content/public/browser/download_manager_delegate.h (right): http://codereview.chromium.org/10069014/diff/95007/content/public/browser/download_manager_delegate.h#newcode25 content/public/browser/download_manager_delegate.h:25: SaveFileDownloadCreatedCallback; On 2012/05/01 17:53:50, rdsmith wrote: > On 2012/04/27 ...
8 years, 7 months ago (2012-05-01 18:34:58 UTC) #67
achuithb
lgtm
8 years, 7 months ago (2012-05-01 19:28:05 UTC) #68
asanka
LGTM w/nits. http://codereview.chromium.org/10069014/diff/127002/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/10069014/diff/127002/chrome/browser/about_flags.cc#newcode402 chrome/browser/about_flags.cc:402: "save-page-as-mhtml", // FLAGS::RECORD_UMA FLAGS:RECORD_UMA (a single colon). ...
8 years, 7 months ago (2012-05-02 19:26:09 UTC) #69
benjhayden
PTAL http://codereview.chromium.org/10069014/diff/127002/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): http://codereview.chromium.org/10069014/diff/127002/chrome/browser/about_flags.cc#newcode402 chrome/browser/about_flags.cc:402: "save-page-as-mhtml", // FLAGS::RECORD_UMA On 2012/05/02 19:26:10, asanka wrote: ...
8 years, 7 months ago (2012-05-03 16:56:48 UTC) #70
asanka
LGTM
8 years, 7 months ago (2012-05-03 17:32:14 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/10069014/133029
8 years, 7 months ago (2012-05-03 20:45:05 UTC) #72
commit-bot: I haz the power
Presubmit check for 10069014-133029 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-03 20:45:28 UTC) #73
benjhayden
Scott: Would you mind reviewing these changes to content/browser/ and content/test for OWNERShip? Thanks!
8 years, 7 months ago (2012-05-03 21:01:31 UTC) #74
sky
LGTM
8 years, 7 months ago (2012-05-03 21:12:34 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/10069014/146004
8 years, 7 months ago (2012-05-04 17:39:45 UTC) #76
commit-bot: I haz the power
Try job failure for 10069014-146004 (retry) on win for step "runhooks". It's a second try, ...
8 years, 7 months ago (2012-05-04 18:00:49 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/10069014/146004
8 years, 7 months ago (2012-05-04 18:14:23 UTC) #78
commit-bot: I haz the power
8 years, 7 months ago (2012-05-04 19:35:32 UTC) #79
Change committed as 135390

Powered by Google App Engine
This is Rietveld 408576698