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

Unified Diff: content/public/common/content_switches.cc

Issue 2013633003: Adding a command-line flag to set MHTML generation options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 244e371a54a230b53b7ae00ae1ccf9d69893b614..42828c8727223517143b5502dccd6ec263a89a1c 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -635,6 +635,11 @@ const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
// Renderer.Memory histogram. Used in memory tests.
const char kMemoryMetrics[] = "memory-metrics";
+// Sets options for MHTML generator to skip no-store resources:
+// "skip_nostore_main" - fails to save a page if main frame is 'no-store'
+// "skip_nostore_all" - also skips no-store subresources.
+const char kMHTMLGeneratorOption[] = "mhtml-generator-option";
+
// Use a Mojo-based LocalStorage implementation.
const char kMojoLocalStorage[] = "mojo-local-storage";
« content/browser/download/save_package.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698