commit | 47f5d9434eb58a7bc0862c2e92c7a6cd6d708c36 | [log] [tgz] |
---|---|---|
author | Aleksei Loshkarev <lixan@yandex-team.ru> | Sat Jan 19 14:13:45 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Jan 19 14:13:45 2019 |
tree | 7cc5542eafc7f75a75ed81c70640fdc44255c761 | |
parent | e92ccc00d7bbed2632e518d9d2b57edbff93d6d1 [diff] |
Normalize Profile DoFinalInit sequence Profiles are created by one of two ProfileManager functions: CreateProfileHelper and CreateProfileAsyncHelper. Also two DoFinalInit functions exists one in ProfileImpl and one in ProfileManager. In case of sync profile creation ProfileManager::DoFinalInit is called after ProfileImpl::DoFinalInit. In case of async profile creation ProfileManager::DoFinalInit is called inside ProfileImpl::DoFinalInit through Profile::Delegate. This CL moves delegate calls to end of ProfileImpl::DoFinalInit and normalise profile initialization sequence. In Yandex we have trouble with recently added io_data_.InitializeDataReductionProxy() because it was inserted after calling Profile::Delegate. Change-Id: I3ca408e41ca13421d7899f66d5db8b8a06d77eb4 Reviewed-on: https://chromium-review.googlesource.com/c/1417874 Commit-Queue: Aleksei Loshkarev <lixan@yandex-team.ru> Reviewed-by: David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#624471}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .