Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3253)

Unified Diff: base/prefs/pref_notifier.h

Issue 290083006: Store a stacktrace of PrefService destruction in PrefChangeRegistrar (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compilation Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/prefs/pref_member.cc ('k') | base/prefs/pref_notifier_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « base/prefs/pref_member.cc ('k') | base/prefs/pref_notifier_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698