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

Unified Diff: content/browser/download/mhtml_generation_manager.h

Issue 2731293004: Move the writing of the MHTML footer to the browser process. (Closed)
Patch Set: Created 3 years, 9 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/browser/download/mhtml_generation_manager.h
diff --git a/content/browser/download/mhtml_generation_manager.h b/content/browser/download/mhtml_generation_manager.h
index fa5842bd2bd8a4373e9b663e5c9be0fd25917656..8dbdadb1b41f4397e789e95793414006f3c4cca8 100644
--- a/content/browser/download/mhtml_generation_manager.h
+++ b/content/browser/download/mhtml_generation_manager.h
@@ -76,7 +76,8 @@ class MHTMLGenerationManager {
void JobFinished(Job* job, MhtmlSaveStatus save_status);
// Called on the UI thread after the file got finalized and we have its size.
- void OnFileClosed(int job_id, MhtmlSaveStatus save_status, int64_t file_size);
+ void OnFileClosed(int job_id,
+ std::tuple<MhtmlSaveStatus, int64_t> save_status_size);
// Creates and registers a new job.
Job* NewJob(WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698