| Index: components/policy/core/common/cloud/system_policy_request_context.cc
|
| diff --git a/components/policy/core/common/cloud/system_policy_request_context.cc b/components/policy/core/common/cloud/system_policy_request_context.cc
|
| index ebbb8766e4cc3e94a56f6c72dd80d5ded828c251..1aaec9ee19721a53f1b77c3cb76b1a5909c56f62 100644
|
| --- a/components/policy/core/common/cloud/system_policy_request_context.cc
|
| +++ b/components/policy/core/common/cloud/system_policy_request_context.cc
|
| @@ -43,6 +43,11 @@ SystemPolicyRequestContext::GetURLRequestContext() {
|
| context_->set_ssl_config_service(
|
| system_context->ssl_config_service());
|
|
|
| + // Share the job factory (if there is one). This allows tests to intercept
|
| + // requests made via this request context if they install protocol handlers
|
| + // at the system request context.
|
| + context_->set_job_factory(system_context->job_factory());
|
| +
|
| // Set our custom UserAgent.
|
| context_->set_http_user_agent_settings(&http_user_agent_settings_);
|
|
|
|
|