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

Issue 2860033003: Don't delay creation of system URLRequestContext until first use (Closed)

Created:
3 years, 7 months ago by mmenke
Modified:
3 years, 7 months ago
Reviewers:
stevenjb, eroman, sky
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't delay creation of system URLRequestContext until first use. This also requires updating ProxyConfigServiceImpl to pass its status synchronously to the ProxyConfig it creates, since there's not yet an IO Thread to post a task to during IOThread creation. BUG=715695 Review-Url: https://codereview.chromium.org/2860033003 Cr-Commit-Position: refs/heads/master@{#471791} Committed: https://chromium.googlesource.com/chromium/src/+/02505dac8a35d644e38d27b01e48645ce39599bc

Patch Set 1 #

Patch Set 2 : Base on top of trunk, fix PrefProxyConfigTrackerImpl #

Patch Set 3 : Rework tests #

Patch Set 4 : Another startup fix. Will need to update unit tests #

Patch Set 5 : Update tests #

Patch Set 6 : Fix testing_io_thread_state.h #

Patch Set 7 : Fix testing_io_thread_state.h (Again) #

Total comments: 1

Patch Set 8 : Fix android #

Total comments: 4

Patch Set 9 : Response to stevenjob's comments #

Patch Set 10 : Merge #

Patch Set 11 : Merge #

Total comments: 8

Patch Set 12 : Response to comments #

Patch Set 13 : Oops #

Total comments: 2

Patch Set 14 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -106 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -15 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 6 chunks +25 lines, -58 lines 0 comments Download
M chrome/test/base/testing_io_thread_state.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M components/proxy_config/pref_proxy_config_tracker.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M components/proxy_config/pref_proxy_config_tracker_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -8 lines 0 comments Download
M components/proxy_config/pref_proxy_config_tracker_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +11 lines, -13 lines 0 comments Download
M components/proxy_config/pref_proxy_config_tracker_impl_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +42 lines, -9 lines 0 comments Download

Messages

Total messages: 65 (49 generated)
mmenke
[eroman]: Please review chrome/browser/io_thread and testing_io_thread_state. Sending this to you because, the main complexity is ...
3 years, 7 months ago (2017-05-09 17:53:53 UTC) #27
stevenjb
components/proxy_config lgtm w/ nits https://codereview.chromium.org/2860033003/diff/160001/components/proxy_config/pref_proxy_config_tracker_impl.h File components/proxy_config/pref_proxy_config_tracker_impl.h (right): https://codereview.chromium.org/2860033003/diff/160001/components/proxy_config/pref_proxy_config_tracker_impl.h#newcode42 components/proxy_config/pref_proxy_config_tracker_impl.h:42: const net::ProxyConfig& initial_config); No longer ...
3 years, 7 months ago (2017-05-10 18:46:17 UTC) #33
mmenke
Thanks for the feedback! (And if you're wondering about the test...In an earlier CL, I ...
3 years, 7 months ago (2017-05-10 18:59:20 UTC) #34
mmenke
eroman: Ping! If you're busy, I can look for someone else, though going to be ...
3 years, 7 months ago (2017-05-11 20:26:39 UTC) #35
eroman
Sorry, I actually was out past 2 days but failed to updated my status.
3 years, 7 months ago (2017-05-12 01:17:42 UTC) #36
mmenke
On 2017/05/12 01:17:42, eroman wrote: > Sorry, I actually was out past 2 days but ...
3 years, 7 months ago (2017-05-12 04:10:19 UTC) #37
eroman
lgtm https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc File components/proxy_config/pref_proxy_config_tracker_impl.cc (right): https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc#newcode134 components/proxy_config/pref_proxy_config_tracker_impl.cc:134: update_pending_(true), Can you delete this variable? Seems like ...
3 years, 7 months ago (2017-05-12 21:12:59 UTC) #40
mmenke
https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc File components/proxy_config/pref_proxy_config_tracker_impl.cc (right): https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc#newcode134 components/proxy_config/pref_proxy_config_tracker_impl.cc:134: update_pending_(true), On 2017/05/12 21:12:59, eroman wrote: > Can you ...
3 years, 7 months ago (2017-05-12 21:29:58 UTC) #42
eroman
lgtm https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc File components/proxy_config/pref_proxy_config_tracker_impl.cc (right): https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc#newcode134 components/proxy_config/pref_proxy_config_tracker_impl.cc:134: update_pending_(true), On 2017/05/12 21:29:57, mmenke wrote: > On ...
3 years, 7 months ago (2017-05-12 21:54:55 UTC) #48
mmenke
Thanks! https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc File components/proxy_config/pref_proxy_config_tracker_impl.cc (right): https://codereview.chromium.org/2860033003/diff/220001/components/proxy_config/pref_proxy_config_tracker_impl.cc#newcode134 components/proxy_config/pref_proxy_config_tracker_impl.cc:134: update_pending_(true), On 2017/05/12 21:54:55, eroman wrote: > On ...
3 years, 7 months ago (2017-05-12 21:57:58 UTC) #49
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/2860033003/260001
3 years, 7 months ago (2017-05-13 02:45:48 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/436198)
3 years, 7 months ago (2017-05-13 02:53:22 UTC) #56
mmenke
[+sky] For chrome/test/base/testing_io_thread_state.cc
3 years, 7 months ago (2017-05-13 03:54:58 UTC) #58
sky
LGTM
3 years, 7 months ago (2017-05-14 16:27:27 UTC) #59
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/2860033003/280001
3 years, 7 months ago (2017-05-15 15:04:37 UTC) #62
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 16:37:46 UTC) #65
Message was sent while issue was closed.
Committed patchset #14 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/02505dac8a35d644e38d27b01e48...

Powered by Google App Engine
This is Rietveld 408576698