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

Unified Diff: content/public/common/mhtml_generation_params.h

Issue 2540483002: Allow Offline MHTML save operations to succeed even with missing frames.
Patch Set: Address code review comments. Created 4 years, 1 month 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
« no previous file with comments | « content/browser/download/mhtml_generation_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/mhtml_generation_params.h
diff --git a/content/public/common/mhtml_generation_params.h b/content/public/common/mhtml_generation_params.h
index 32825e49ddc888b12bf8c2f7ae63550eb2e7fe0f..0d7e6c2260b4564116cdfdff3f4961544cb99532 100644
--- a/content/public/common/mhtml_generation_params.h
+++ b/content/public/common/mhtml_generation_params.h
@@ -28,6 +28,11 @@ struct CONTENT_EXPORT MHTMLGenerationParams {
// Cache-Control header is used.
blink::WebFrameSerializerCacheControlPolicy cache_control_policy =
blink::WebFrameSerializerCacheControlPolicy::None;
+
+ // This setting defaults to |false|. If set to |true| it allows the saving
+ // operation to still succeed even when frames go missing during the saving
+ // process (with the obvious exception of the main frame).
+ bool ignore_missing_frames = false;
};
} // namespace content
« no previous file with comments | « content/browser/download/mhtml_generation_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698