1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PREFS_PREF_OBSERVER_H_
6 #define COMPONENTS_PREFS_PREF_OBSERVER_H_
12 // Used internally to the Prefs subsystem to pass preference change
13 // notifications between PrefService, PrefNotifierImpl and
14 // PrefChangeRegistrar.
17 virtual void OnPreferenceChanged(PrefService* service,
18 const std::string& pref_name) = 0;
21 #endif // COMPONENTS_PREFS_PREF_OBSERVER_H_