DescriptionGData save package support with MHTML.
* Introduce SavePackageFilePickerChromeOS, which derives from SavePackageFilePicker.
* For gdata targets, we save the selected path, create a temporary mhtml file using WebContents::GenerateMHTML, and call GDataFileSystem::TransferFile to transfer the file to gdata.
* For non-gdata targets, we just generate the mhtml file in place.
* DownloadObserver::GetGDataTempDownloadPath is a static helper method to create a temporary gdata download file, used by SavePackageFilePickerChromeOS and DownloadFilePickerChromeOS.
BUG=chromium-os:28210
TEST=Go to a web page, use Save As, or ctrl-s to save a page to docs.
TBR=rdsmith@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129115
Patch Set 1 #Patch Set 2 : #
Total comments: 16
Patch Set 3 : rebase + handle some nits #Patch Set 4 : more nits #
Total comments: 9
Patch Set 5 : #Patch Set 6 : break inheritance from SavePackageFilePicker #Patch Set 7 : Add comments and TODOs #
Total comments: 2
Messages
Total messages: 18 (0 generated)
|