blob: 93a0454bf3c6186143d214ce9440ec429d469682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_PREFS_PREF_OBSERVER_H_
#define BASE_PREFS_PREF_OBSERVER_H_
#include <string>
class PrefServiceBase;
// TODO(joi): Switch to base::Callback and remove this.
class PrefObserver {
public:
virtual void OnPreferenceChanged(PrefServiceBase* service,
const std::string& pref_name) = 0;
};
#endif // BASE_PREFS_PREF_OBSERVER_H_
|