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

Side by Side Diff: content/browser/download/download_stats.h

Issue 2867803002: Add a metric to record http response code for download requests. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Holds helpers for gathering UMA stats about downloads. 5 // Holds helpers for gathering UMA stats about downloads.
6 6
7 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ 7 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_
8 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ 8 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // enum. 318 // enum.
319 void RecordOriginStateOnResumption(bool is_partial, 319 void RecordOriginStateOnResumption(bool is_partial,
320 int state); 320 int state);
321 321
322 void RecordDownloadConnectionSecurity(const GURL& download_url, 322 void RecordDownloadConnectionSecurity(const GURL& download_url,
323 const std::vector<GURL>& url_chain); 323 const std::vector<GURL>& url_chain);
324 324
325 void RecordDownloadSourcePageTransitionType( 325 void RecordDownloadSourcePageTransitionType(
326 const base::Optional<ui::PageTransition>& transition); 326 const base::Optional<ui::PageTransition>& transition);
327 327
328 void RecordDownloadHttpResponseCode(int response_code);
329
328 } // namespace content 330 } // namespace content
329 331
330 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_ 332 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_STATS_H_
OLDNEW
« 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