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

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: More minor changes 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..e30001535b03735758e09f2734d69ce5cd1c03d7 100644
--- a/content/browser/download/mhtml_generation_manager.h
+++ b/content/browser/download/mhtml_generation_manager.h
@@ -76,7 +76,9 @@ 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,
+ const std::tuple<MhtmlSaveStatus, int64_t>& save_status_size);
// Creates and registers a new job.
Job* NewJob(WebContents* web_contents,
« no previous file with comments | « chrome/browser/content_settings/content_settings_browsertest.cc ('k') | content/browser/download/mhtml_generation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698