blob: b2219f6b24862a60fc1fb84e762c82e90cd653d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PREFS_PREF_OBSERVER_H_
#define COMPONENTS_PREFS_PREF_OBSERVER_H_
#include <string>
class PrefService;
// Used internally to the Prefs subsystem to pass preference change
// notifications between PrefService, PrefNotifierImpl and
// PrefChangeRegistrar.
class PrefObserver {
public:
virtual void OnPreferenceChanged(PrefService* service,
const std::string& pref_name) = 0;
};
#endif // COMPONENTS_PREFS_PREF_OBSERVER_H_
|