[chromecast] Refactor URLRequestContextFactory to set up the common settings...
[chromecast] Refactor URLRequestContextFactory to set up the common settings for creating URLRequestContext 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 'ConfigureURLRequestContext' to setup all configs of URLRequestContext object. Bug: 921430 Test: NONE Change-Id: Ifcc1aa197e36ca466f1377db25e233c892cbb764 Reviewed-on: https://chromium-review.googlesource.com/c/1385693 Commit-Queue: Chih-Hsuan Kuo <chkuo@google.com> Reviewed-by:Luke Halliwell <halliwell@chromium.org> Cr-Commit-Position: refs/heads/master@{#626456}
Showing
Please register or sign in to comment