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

Unified Diff: base/prefs/pref_observer.h

Issue 290083006: Store a stacktrace of PrefService destruction in PrefChangeRegistrar (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor improvements 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
Index: base/prefs/pref_observer.h
diff --git a/base/prefs/pref_observer.h b/base/prefs/pref_observer.h
index 5d8f5b63dc3c9cb363a546ee10ddb92787765937..2815639d96235035d540876396b63794f434bd42 100644
--- a/base/prefs/pref_observer.h
+++ b/base/prefs/pref_observer.h
@@ -16,6 +16,10 @@ class PrefObserver {
public:
virtual void OnPreferenceChanged(PrefService* service,
const std::string& pref_name) = 0;
+
+ // TODO(battre): Remove function (debugging tool for crbug.com/373435).
+ virtual void SetPrefServiceDestructionTrace(
+ const std::string& stacktrace) = 0;
};
#endif // BASE_PREFS_PREF_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698