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

Unified Diff: content/browser/download/mhtml_generation_manager.cc

Issue 2886943003: [Offline Pages] Adding missing image/CSS detection in FrameSerializer. (Closed)
Patch Set: comments from dcheng@. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/mhtml_generation_manager.cc
diff --git a/content/browser/download/mhtml_generation_manager.cc b/content/browser/download/mhtml_generation_manager.cc
index 001d30d59f469fbfc9696f80015393a5d031b473..df825ba7caccb2af0650473acef425ad85a713b6 100644
--- a/content/browser/download/mhtml_generation_manager.cc
+++ b/content/browser/download/mhtml_generation_manager.cc
@@ -253,6 +253,7 @@ MhtmlSaveStatus MHTMLGenerationManager::Job::SendToNextRenderFrame() {
ipc_params.mhtml_binary_encoding = params_.use_binary_encoding;
ipc_params.mhtml_cache_control_policy = params_.cache_control_policy;
ipc_params.mhtml_popup_overlay_removal = params_.remove_popup_overlay;
+ ipc_params.mhtml_problem_detection = params_.use_page_problem_detectors;
int frame_tree_node_id = pending_frame_tree_node_ids_.front();
pending_frame_tree_node_ids_.pop();
@@ -608,8 +609,8 @@ base::File MHTMLGenerationManager::CreateFile(const base::FilePath& file_path) {
base::File browser_file(file_path, file_flags);
if (!browser_file.IsValid()) {
- LOG(ERROR) << "Failed to create file to save MHTML at: " <<
- file_path.value();
+ LOG(ERROR) << "Failed to create file to save MHTML at: "
+ << file_path.value();
romax 2017/05/27 01:00:04 'git cl format' change.
}
return browser_file;
}
« no previous file with comments | « no previous file | content/common/frame_messages.h » ('j') | third_party/WebKit/Source/core/frame/FrameSerializer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698