Chromium Code Reviews| Index: chrome/browser/profiles/profile_impl.cc |
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
| index 5219a9f25616d7d31b1c2fa1a90d2e7ccc3e8459..e2ca8732fc559ceb715cd02a99a7d1ed0abfe5be 100644 |
| --- a/chrome/browser/profiles/profile_impl.cc |
| +++ b/chrome/browser/profiles/profile_impl.cc |
| @@ -511,6 +511,7 @@ ProfileImpl::ProfileImpl( |
| void ProfileImpl::DoFinalInit() { |
| TRACE_EVENT0("browser", "ProfileImpl::DoFinalInit") |
| + DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| PrefService* prefs = GetPrefs(); |
| pref_change_registrar_.Init(prefs); |
| pref_change_registrar_.Add( |
| @@ -631,6 +632,9 @@ void ProfileImpl::DoFinalInit() { |
| InitHostZoomMap(); |
| + // Make sure HostContentSettingsMap is created on the UI thread. |
|
vabr (Chromium)
2014/10/01 11:14:48
This only really makes sure that HCSM is created o
vabr (Chromium)
2014/10/01 11:14:48
Also, should chrome/test/base/testing_profile.cc g
Bernhard Bauer
2014/10/01 11:41:09
Really, if we have a defined place where we constr
Jun Mukai
2014/10/14 23:53:13
Indeed, I was confused previously but we can add D
|
| + GetHostContentSettingsMap(); |
| + |
| base::Callback<void(bool)> data_reduction_proxy_unavailable; |
| scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
| data_reduction_proxy_params; |