Index: base/prefs/pref_notifier.h |
diff --git a/base/prefs/pref_notifier.h b/base/prefs/pref_notifier.h |
index e0df260c514821fe882111c8813da32faea51ce8..daecc6e045aa804302141330c3dbcee555817aef 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 BroadcastPrefServiceDestructionTrace( |
+ const std::string& stack_trace) = 0; |
}; |
#endif // BASE_PREFS_PREF_NOTIFIER_H_ |