Chromium Code Reviews| Index: base/prefs/pref_notifier.h |
| diff --git a/base/prefs/pref_notifier.h b/base/prefs/pref_notifier.h |
| index e0df260c514821fe882111c8813da32faea51ce8..da8b1530a101f909d86dbca7772d8dfb7ec3cce4 100644 |
| --- a/base/prefs/pref_notifier.h |
| +++ b/base/prefs/pref_notifier.h |
| @@ -21,6 +21,12 @@ class PrefNotifier { |
| // Broadcasts the intialization completed notification. |
| virtual void OnInitializationCompleted(bool succeeded) = 0; |
| + |
| + // TODO(battre): Remove this function, the purpose is to understand whether a |
| + // crash in PrefChangeRegistrar::~PrefChangeRegistrar() is caused by a |
| + // PrefService already being dead. See crbug.com/373435. |
| + virtual void SetPrefServiceDestructionTrace( |
|
engedy
2014/05/16 15:19:58
nit: I would call this BroadcastPrefServiceDestruc
battre
2014/05/16 15:58:37
Done.
|
| + const std::string& stacktrace) = 0; |
|
engedy
2014/05/16 15:19:58
nit: stack_trace.
battre
2014/05/16 15:58:37
Done.
|
| }; |
| #endif // BASE_PREFS_PREF_NOTIFIER_H_ |