| Index: net/url_request/url_request_context_storage.cc
|
| diff --git a/net/url_request/url_request_context_storage.cc b/net/url_request/url_request_context_storage.cc
|
| index 7003bb9ee5315f86e179a5b8efb5891ff39d5de4..226b7e8ce6964147a2c9b3538e80f6b4bd0954b1 100644
|
| --- a/net/url_request/url_request_context_storage.cc
|
| +++ b/net/url_request/url_request_context_storage.cc
|
| @@ -20,13 +20,16 @@
|
| #include "net/http/http_transaction_factory.h"
|
| #include "net/log/net_log.h"
|
| #include "net/proxy/proxy_service.h"
|
| -#include "net/reporting/reporting_service.h"
|
| #include "net/ssl/channel_id_service.h"
|
| #include "net/url_request/http_user_agent_settings.h"
|
| #include "net/url_request/url_request_context.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
| #include "net/url_request/url_request_throttler_manager.h"
|
|
|
| +#if BUILDFLAG(ENABLE_REPORTING)
|
| +#include "net/reporting/reporting_service.h"
|
| +#endif // BUILDFLAG(ENABLE_REPORTING)
|
| +
|
| namespace net {
|
|
|
| URLRequestContextStorage::URLRequestContextStorage(URLRequestContext* context)
|
| @@ -153,10 +156,12 @@ void URLRequestContextStorage::set_sdch_manager(
|
| sdch_manager_ = std::move(sdch_manager);
|
| }
|
|
|
| +#if BUILDFLAG(ENABLE_REPORTING)
|
| void URLRequestContextStorage::set_reporting_service(
|
| std::unique_ptr<ReportingService> reporting_service) {
|
| context_->set_reporting_service(reporting_service.get());
|
| reporting_service_ = std::move(reporting_service);
|
| }
|
| +#endif // BUILDFLAG(ENABLE_REPORTING)
|
|
|
| } // namespace net
|
|
|