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

Unified Diff: components/offline_pages/core/offline_page_model_impl.cc

Issue 2880963005: MHTMLGenerationManager - add param (Closed)
Patch Set: Merged with tip of tree 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: components/offline_pages/core/offline_page_model_impl.cc
diff --git a/components/offline_pages/core/offline_page_model_impl.cc b/components/offline_pages/core/offline_page_model_impl.cc
index 596892d6171acbfba7f5d5bd205f01f10c151b64..0030051d62012718b2a6620d8ddfb003d2f56180 100644
--- a/components/offline_pages/core/offline_page_model_impl.cc
+++ b/components/offline_pages/core/offline_page_model_impl.cc
@@ -370,6 +370,8 @@ void OfflinePageModelImpl::SavePage(
// If the page is being saved in the background, we should try to remove the
// popup overlay that obstructs viewing the normal content.
create_archive_params.remove_popup_overlay = save_page_params.is_background;
+ create_archive_params.use_page_problem_detectors =
+ save_page_params.use_page_problem_detectors;
archiver->CreateArchive(
archives_dir_, create_archive_params,
base::Bind(&OfflinePageModelImpl::OnCreateArchiveDone,
« no previous file with comments | « components/offline_pages/core/offline_page_model.h ('k') | components/offline_pages/core/offline_page_model_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698