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

Unified Diff: components/offline_pages/core/offline_page_archiver.h

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_archiver.h
diff --git a/components/offline_pages/core/offline_page_archiver.h b/components/offline_pages/core/offline_page_archiver.h
index cfada7b4dea1fe2e2136d33d96ec321c0a54ef14..30dd2945554810e3aa87cb19ea925c9ba4f62671 100644
--- a/components/offline_pages/core/offline_page_archiver.h
+++ b/components/offline_pages/core/offline_page_archiver.h
@@ -56,10 +56,14 @@ class OfflinePageArchiver {
// Describes the parameters to control how to create an archive.
struct CreateArchiveParams {
- CreateArchiveParams() : remove_popup_overlay(false) {}
+ CreateArchiveParams()
+ : remove_popup_overlay(false), use_page_problem_detectors(false) {}
// Whether to remove popup overlay that obstructs viewing normal content.
bool remove_popup_overlay;
+
+ // Run page problem detectors while generating MTHML if true.
+ bool use_page_problem_detectors;
};
typedef base::Callback<void(OfflinePageArchiver* /* archiver */,
« no previous file with comments | « chrome/browser/offline_pages/background_loader_offliner.cc ('k') | components/offline_pages/core/offline_page_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698