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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

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/browser/web_contents/web_contents_impl.h ('k') | content/child/assert_matching_enums.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 3362cc1b63417be749ef6832eabd73c03b175083..4366e87135f23cbfce5b6249dcda9d71aa0af9b9 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2801,11 +2801,9 @@ void WebContentsImpl::SaveFrameWithHeaders(const GURL& url,
}
void WebContentsImpl::GenerateMHTML(
- const base::FilePath& file,
- bool use_binary_encoding,
+ const MHTMLGenerationParams& params,
const base::Callback<void(int64_t)>& callback) {
- MHTMLGenerationManager::GetInstance()->SaveMHTML(this, use_binary_encoding,
- file, callback);
+ MHTMLGenerationManager::GetInstance()->SaveMHTML(this, params, callback);
}
const std::string& WebContentsImpl::GetContentsMimeType() const {
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/child/assert_matching_enums.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698