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

Unified Diff: chrome/common/chrome_switches.cc

Issue 10069014: Save Page As MHTML (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -osall, extract_actions.py Created 8 years, 8 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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index b3ab05cc7723efd755b6a781ee99c957b5c1804c..b571d24bcf8382da04129d87f28982d7ca462d42 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1084,6 +1084,12 @@ const char kRendererPrintPreview[] = "renderer-print-preview";
// sent to the ui_test.
const char kRestoreLastSession[] = "restore-last-session";
+// Disable saving pages as HTML-only, disable saving pages as HTML Complete
+// (with a directory of sub-resources). Enable only saving pages as MHTML.
+// TODO(benjhayden): Remove this switch/flag when SavePackageFilePicker and all
+// platform-specific file pickers support switching save-as filetypes.
+const char kSavePageAsMHTML[] = "save-page-as-mhtml";
+
// URL prefix used by safebrowsing to fetch hash, download data and report
// malware.
const char kSbURLPrefix[] = "safebrowsing-url-prefix";

Powered by Google App Engine
This is Rietveld 408576698