Index: base/prefs/pref_notifier_impl.h |
diff --git a/base/prefs/pref_notifier_impl.h b/base/prefs/pref_notifier_impl.h |
index 3f4c254c416a6ec803028f9fe4304f6dbbb671c3..cfd46ff4211ff2ef9196723d83e549e5ececeebe 100644 |
--- a/base/prefs/pref_notifier_impl.h |
+++ b/base/prefs/pref_notifier_impl.h |
@@ -29,8 +29,8 @@ class BASE_PREFS_EXPORT PrefNotifierImpl |
// If the pref at the given path changes, we call the observer's |
// OnPreferenceChanged method. |
- void AddPrefObserver(const char* path, PrefObserver* observer); |
- void RemovePrefObserver(const char* path, PrefObserver* observer); |
+ void AddPrefObserver(const std::string& path, PrefObserver* observer); |
+ void RemovePrefObserver(const std::string& path, PrefObserver* observer); |
// We run the callback once, when initialization completes. The bool |
// parameter will be set to true for successful initialization, |