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

Issue 2977693003: Use TaskRunner passed in to URLRequestContextBuilder only for the cache (Closed)

Created:
3 years, 5 months ago by mmenke
Modified:
3 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, chromoting-reviews_chromium.org, android-webview-reviews_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskRunner passed in to URLRequestContextBuilder only for the cache It used to be used for file URLs and TransportSecurityStatePersister as well, but this CL moves those over to using the task scheduler. Can't just always use that for the cache as well due to the cache needing a SingleThreadTaskRunner, and getting one of those from the task scheduler is a bit more resource intensive. BUG=734199 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2977693003 Cr-Commit-Position: refs/heads/master@{#485919} Committed: https://chromium.googlesource.com/chromium/src/+/5f72b7fbfd9626c67decee2bfff2f6c26d6d85af

Patch Set 1 #

Patch Set 2 : Merge #

Patch Set 3 : merge... #

Patch Set 4 : Actually, don't need to set the thread everywhere #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -58 lines) Patch
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M headless/lib/browser/headless_url_request_context_getter.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M headless/lib/browser/headless_url_request_context_getter.cc View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 4 chunks +7 lines, -17 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 5 chunks +12 lines, -32 lines 0 comments Download
M remoting/base/url_request_context_getter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M remoting/base/url_request_context_getter.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (23 generated)
mmenke
[rdsmith]: Please review net/. Eventually, we'll probably want to have net components grab TaskRunners themselves ...
3 years, 5 months ago (2017-07-11 18:19:03 UTC) #10
Randy Smith (Not in Mondays)
The new behavior in /net LGTM. How concerned are you about/how useful would it be ...
3 years, 5 months ago (2017-07-11 18:27:20 UTC) #11
mmenke
On 2017/07/11 18:27:20, Randy Smith (Not in Mondays) wrote: > The new behavior in /net ...
3 years, 5 months ago (2017-07-11 18:31:31 UTC) #12
Randy Smith (Not in Mondays)
On 2017/07/11 18:31:31, mmenke wrote: > On 2017/07/11 18:27:20, Randy Smith (Not in Mondays) wrote: ...
3 years, 5 months ago (2017-07-11 18:35:18 UTC) #13
mmenke
[+sgurun]: Please review android_webview/browser/net/aw_url_request_context_getter.cc [+eseckler] Please review headless/lib/browser/headless_url_request_context_getter.cc [+sergeyu]: Please review remoting/base/url_request_context_getter.cc The passed in ...
3 years, 5 months ago (2017-07-11 21:06:41 UTC) #19
Do not use (sergeyu)
remoting lgtm
3 years, 5 months ago (2017-07-11 21:16:31 UTC) #21
Sergey Ulanov
lgtm from the right account
3 years, 5 months ago (2017-07-11 21:20:39 UTC) #24
mef
cronet lgtm
3 years, 5 months ago (2017-07-11 21:23:39 UTC) #25
sgurun-gerrit only
aw lgtm
3 years, 5 months ago (2017-07-11 21:40:37 UTC) #26
Eric Seckler
headless lgtm. Thanks!
3 years, 5 months ago (2017-07-12 08:00:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2977693003/60001
3 years, 5 months ago (2017-07-12 09:41:55 UTC) #32
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 10:54:34 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5f72b7fbfd9626c67decee2bfff2...

Powered by Google App Engine
This is Rietveld 408576698