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

Unified Diff: net/url_request/url_request_context.h

Issue 2769703006: Reporting: Plumb into UrlRequest{HttpJob,Context}. (Closed)
Patch Set: Fix unittest failure. Created 3 years, 8 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 | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index dc73ec75bc821326861dcef6bafd74060ab51041..d34c2fdb3bb59c3396b32c99f8e990ce219f6b6f 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -45,6 +45,7 @@ class HttpUserAgentSettings;
class NetLog;
class NetworkDelegate;
class NetworkQualityEstimator;
+class ReportingService;
class SdchManager;
class ProxyService;
class URLRequest;
@@ -249,6 +250,11 @@ class NET_EXPORT URLRequestContext
network_quality_estimator_ = network_quality_estimator;
}
+ ReportingService* reporting_service() const { return reporting_service_; }
+ void set_reporting_service(ReportingService* reporting_service) {
+ reporting_service_ = reporting_service;
+ }
+
void set_enable_brotli(bool enable_brotli) { enable_brotli_ = enable_brotli; }
bool enable_brotli() const { return enable_brotli_; }
@@ -299,6 +305,7 @@ class NET_EXPORT URLRequestContext
URLRequestBackoffManager* backoff_manager_;
SdchManager* sdch_manager_;
NetworkQualityEstimator* network_quality_estimator_;
+ ReportingService* reporting_service_;
// ---------------------------------------------------------------------------
// Important: When adding any new members below, consider whether they need to
« no previous file with comments | « no previous file | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698