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

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

Issue 2364923004: Add UMA histograms to MHTML save operations. (Closed)
Patch Set: 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
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 ade16ba1826e7d0dcfc125c7fbceaae55a57be40..2b758e3da02ec9f7c8c0a42b83548d1da74652d2 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2082,9 +2082,11 @@ void RenderFrameHostImpl::OnDidChangeLoadProgress(double load_progress) {
void RenderFrameHostImpl::OnSerializeAsMHTMLResponse(
int job_id,
bool success,
- const std::set<std::string>& digests_of_uris_of_serialized_resources) {
+ 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, success, digests_of_uris_of_serialized_resources,
+ renderer_main_thread_time);
}
#if defined(USE_EXTERNAL_POPUP_MENU)

Powered by Google App Engine
This is Rietveld 408576698