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

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: Work on compile. 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/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index f312070709d4868f5cf262c8395cf373cfc5fa47..8a16c6ef7eea4c5acff796b8ae3e193b7aeb73f0 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;
@@ -551,8 +552,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.

Powered by Google App Engine
This is Rietveld 408576698