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

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

Issue 2862743002: Add a metric to record http response code for download requests. (Closed)
Patch Set: Fix an issue for tests, some tests don't have response headers. Created 3 years, 7 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 | « content/browser/download/download_request_core.cc ('k') | content/browser/download/download_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_stats.h
diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
index 0ad1bb006e0e3dc3d48bbb8a28d5e5c9216ad6c8..ecd3bdf698bc6555af9601112d9fb1aca8e18ecb 100644
--- a/content/browser/download/download_stats.h
+++ b/content/browser/download/download_stats.h
@@ -336,6 +336,8 @@ void RecordDownloadConnectionSecurity(const GURL& download_url,
void RecordDownloadSourcePageTransitionType(
const base::Optional<ui::PageTransition>& transition);
+void RecordDownloadHttpResponseCode(int response_code);
+
} // namespace content
#endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_
« no previous file with comments | « content/browser/download/download_request_core.cc ('k') | content/browser/download/download_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698