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

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: feedback + fixed test 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/mhtml_generation_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8582b4937d6b6066eacd5de6372c9332f78dad30 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -635,6 +635,13 @@ 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";
+const char kMHTMLSkipNostoreMain[] = "skip-nostore-main";
+const char kMHTMLSkipNostoreAll[] = "skip-nostore-all";
+
// Use a Mojo-based LocalStorage implementation.
const char kMojoLocalStorage[] = "mojo-local-storage";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/mhtml_generation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698