Chromium Code Reviews| Index: chrome/browser/profiles/profile_impl.h |
| diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h |
| index f002f3fbac99099929c53c50d602a96e13c88d2d..647b59f21a19f1dd6af47f8b8458f7264e74c4f5 100644 |
| --- a/chrome/browser/profiles/profile_impl.h |
| +++ b/chrome/browser/profiles/profile_impl.h |
| @@ -26,6 +26,7 @@ class PrefService; |
| class PrefServiceSyncable; |
| class ShortcutsBackend; |
| class SSLConfigServiceManager; |
| +class TrackedPreferenceValidationDelegate; |
| #if defined(OS_CHROMEOS) |
| namespace chromeos { |
| @@ -242,6 +243,9 @@ class ProfileImpl : public Profile { |
| #endif |
| scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; |
| + // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives |
| + // the latter. |
| + scoped_ptr<TrackedPreferenceValidationDelegate> pref_validation_delegate_; |
|
Mattias Nissler (ping if slow)
2014/05/26 07:01:15
nit: blank line
grt (UTC plus 2)
2014/05/26 13:28:16
Done.
|
| // Keep |prefs_| on top for destruction order because |extension_prefs_|, |
| // |net_pref_observer_|, |io_data_| and others store pointers to |prefs_| and |
| // shall be destructed first. |