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

Unified Diff: net/url_request/url_request_context_storage.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 | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_context_storage.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_storage.h
diff --git a/net/url_request/url_request_context_storage.h b/net/url_request/url_request_context_storage.h
index 0e4a8a51ea1d630b45d26e079c85e351abe6b4c1..c47f855838cfb59a923bcb1b6ed3c530287e74cb 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -28,6 +28,7 @@ class NetLog;
class NetworkDelegate;
class ProxyDelegate;
class ProxyService;
+class ReportingService;
class SdchManager;
class SSLConfigService;
class TransportSecurityState;
@@ -78,6 +79,8 @@ class NET_EXPORT URLRequestContextStorage {
void set_http_user_agent_settings(
std::unique_ptr<HttpUserAgentSettings> http_user_agent_settings);
void set_sdch_manager(std::unique_ptr<SdchManager> sdch_manager);
+ void set_reporting_service(
+ std::unique_ptr<ReportingService> reporting_service);
// Everything else can be access through the URLRequestContext, but this
// cannot. Having an accessor for it makes usage a little cleaner.
@@ -116,6 +119,7 @@ class NET_EXPORT URLRequestContextStorage {
std::unique_ptr<URLRequestJobFactory> job_factory_;
std::unique_ptr<URLRequestThrottlerManager> throttler_manager_;
std::unique_ptr<SdchManager> sdch_manager_;
+ std::unique_ptr<ReportingService> reporting_service_;
DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage);
};
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_context_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698