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

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

Issue 2344153003: Adds tracing to MHTML generation call chain. (Closed)
Patch Set: Address code review comments Created 4 years, 3 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 | « no previous file | content/browser/download/mhtml_generation_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50d5bebc702bc782b3535cd0b19508558f67f240..f3a838c9682ab989a8a41b9dfc4012af84342c51 100644
--- a/content/browser/download/mhtml_generation_manager.h
+++ b/content/browser/download/mhtml_generation_manager.h
@@ -77,9 +77,9 @@ class MHTMLGenerationManager {
void OnFileClosed(int job_id, JobStatus job_status, int64_t file_size);
// Creates and registers a new job.
- int NewJob(WebContents* web_contents,
- const MHTMLGenerationParams& params,
- const GenerateMHTMLCallback& callback);
+ Job* NewJob(WebContents* web_contents,
+ const MHTMLGenerationParams& params,
+ const GenerateMHTMLCallback& callback);
// Finds job by id. Returns nullptr if no job with a given id was found.
Job* FindJob(int job_id);
« no previous file with comments | « no previous file | content/browser/download/mhtml_generation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698