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

Issue 2475143002: Defer DRP start up until after the context getter is created (Closed)

Created:
4 years, 1 month ago by RyanSturm
Modified:
4 years, 1 month ago
Reviewers:
bengr, mmenke
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer DRP start up until after the context getter is created DRP initialization will be defered until the main request context is created. Currently, DRP will force the create of the context getter causing unneccesary early evaluation. BUG=662488 Committed: https://crrev.com/ff0a4a3f4f165290c3da7902a67d98434a49e7e3 Cr-Commit-Position: refs/heads/master@{#430676}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M chrome/browser/profiles/profile_impl_io_data.cc View 2 chunks +20 lines, -20 lines 5 comments Download

Messages

Total messages: 23 (12 generated)
mmenke
I think this works, one question, though. https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode249 chrome/browser/profiles/profile_impl_io_data.cc:249: db_task_runner); What ...
4 years, 1 month ago (2016-11-04 17:25:11 UTC) #6
RyanSturm
I'm adding bengr as a reviewer as well to get his thoughts. https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc ...
4 years, 1 month ago (2016-11-04 18:46:39 UTC) #8
mmenke
LGTM https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode207 chrome/browser/profiles/profile_impl_io_data.cc:207: BrowserThread::GetTaskRunnerForThread(BrowserThread::UI))); I'm not objecting, but is there a ...
4 years, 1 month ago (2016-11-04 19:02:44 UTC) #10
bengr
What motivated this CL? https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode207 chrome/browser/profiles/profile_impl_io_data.cc:207: BrowserThread::GetTaskRunnerForThread(BrowserThread::UI))); On 2016/11/04 19:02:44, mmenke ...
4 years, 1 month ago (2016-11-07 18:13:40 UTC) #11
RyanSturm
https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/2475143002/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode207 chrome/browser/profiles/profile_impl_io_data.cc:207: BrowserThread::GetTaskRunnerForThread(BrowserThread::UI))); On 2016/11/07 18:13:40, bengr wrote: > On 2016/11/04 ...
4 years, 1 month ago (2016-11-07 18:21:53 UTC) #12
bengr
lgtm
4 years, 1 month ago (2016-11-07 23:38:14 UTC) #13
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/2475143002/1
4 years, 1 month ago (2016-11-07 23:40:24 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/332771)
4 years, 1 month ago (2016-11-08 00:33:03 UTC) #17
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/2475143002/1
4 years, 1 month ago (2016-11-08 18:26:50 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-08 19:06:45 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 19:39:34 UTC) #23
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ff0a4a3f4f165290c3da7902a67d98434a49e7e3
Cr-Commit-Position: refs/heads/master@{#430676}

Powered by Google App Engine
This is Rietveld 408576698