New issue
Advanced search Search tips

Issue 921430 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Refactor URLRequestContextFactory to set up the common settings for creating URLRequestContext

Project Member Reported by chkuo@google.com, Jan 14

Issue description

Most of the settings for creating URLRequestContext are same and
we use same code in different functions. To reduce the redundant
code, we add a helper function called 'ConfigURLRequestContext'
to setup all configs of URLRequestContext object.

[1]: https://cs.chromium.org/chromium/src/chromecast/browser/url_request_context_factory.cc?l=396&rcl=9278acaca70fd85c7000969f5ecfec33a4badc17
[2]: https://cs.chromium.org/chromium/src/chromecast/browser/url_request_context_factory.cc?l=335&rcl=9278acaca70fd85c7000969f5ecfec33a4badc17
 

Sign in to add a comment