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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 1417323006: OOPIFs: Deduplicating MHTML parts across frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-serialization-per-frame
Patch Set: Rebasing... Created 5 years 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/frame_host/render_frame_host_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index a74c59775cf3f49de6ce351895ba3986577a8839..1834494ead535676362949f0cf7c26ba5d421c80 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1714,8 +1714,12 @@ void RenderFrameHostImpl::OnDidChangeLoadProgress(double load_progress) {
frame_tree_node_->DidChangeLoadProgress(load_progress);
}
-void RenderFrameHostImpl::OnSerializeAsMHTMLResponse(int job_id, bool success) {
- MHTMLGenerationManager::GetInstance()->OnSavedFrameAsMHTML(job_id, success);
+void RenderFrameHostImpl::OnSerializeAsMHTMLResponse(
+ int job_id,
+ bool success,
+ const std::set<std::string>& digests_of_uris_of_serialized_resources) {
+ MHTMLGenerationManager::GetInstance()->OnSerializeAsMHTMLResponse(
+ this, job_id, success, digests_of_uris_of_serialized_resources);
}
#if defined(OS_MACOSX) || defined(OS_ANDROID)
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698