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

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

Issue 2519273002: Fail when saving page as MHTML provides information about the cause. (Closed)
Patch Set: Minor changes. Created 4 years, 1 month 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/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 5fee5bf452a8c6375bd263059b599b6a28256a9a..ebf976fd4de5922724c44b55915956d14022e6d7 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2136,11 +2136,11 @@ void RenderFrameHostImpl::OnDidChangeLoadProgress(double load_progress) {
void RenderFrameHostImpl::OnSerializeAsMHTMLResponse(
int job_id,
- bool success,
+ MhtmlSaveStatus save_status,
const std::set<std::string>& digests_of_uris_of_serialized_resources,
base::TimeDelta renderer_main_thread_time) {
MHTMLGenerationManager::GetInstance()->OnSerializeAsMHTMLResponse(
- this, job_id, success, digests_of_uris_of_serialized_resources,
+ this, job_id, save_status, digests_of_uris_of_serialized_resources,
renderer_main_thread_time);
}

Powered by Google App Engine
This is Rietveld 408576698