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

Unified Diff: net/url_request/url_request_http_job.h

Issue 2368433002: Add net::SdchSourceStream and net::SdchPolicyDelegate (Closed)
Patch Set: Fix histograms Created 4 years, 2 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 | « net/net.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.h
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h
index f047e447742fd4dedb1c97fad786b978f615d630..c9150ae697c602c6a70f57b527d34fcf30a2d891 100644
--- a/net/url_request/url_request_http_job.h
+++ b/net/url_request/url_request_http_job.h
@@ -48,6 +48,10 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
NetworkDelegate* network_delegate,
const std::string& scheme);
+ // Record Sdch specific packet stats. Public so that SdchPolicyDelegate can
+ // access it.
+ void RecordPacketStats(FilterContext::StatisticSelector statistic) const;
+
protected:
URLRequestHttpJob(URLRequest* request,
NetworkDelegate* network_delegate,
@@ -145,7 +149,6 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
void ResetTimer();
void UpdatePacketReadTimes() override;
- void RecordPacketStats(FilterContext::StatisticSelector statistic) const;
// Starts the transaction if extensions using the webrequest API do not
// object.
« no previous file with comments | « net/net.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698