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

Unified Diff: content/public/browser/web_contents.h

Issue 1947263004: Introduces a new MHTML generation parameter specifying different behvaior for cache-control headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto origin/master. 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/content_common.gypi ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index af1d3e2198a0de085be176dc2114868724342396..6aa00e66ac6ddb3e18821c07b9fdabfad71c8eab 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -60,6 +60,7 @@ class WebContentsDelegate;
struct CustomContextMenuContext;
struct DropData;
struct Manifest;
+struct MHTMLGenerationParams;
struct PageImportanceSignals;
struct RendererPreferences;
@@ -547,8 +548,7 @@ class WebContents : public PageNavigator,
// 'base64'. Binary encoding is known to have interoperability issues and is
// not the recommended encoding for shareable content.
virtual void GenerateMHTML(
- const base::FilePath& file,
- bool use_binary_encoding,
+ const MHTMLGenerationParams& params,
const base::Callback<void(int64_t /* size of the file */)>& callback) = 0;
// Returns the contents MIME type after a navigation.
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698