OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_PREFS_PREF_HASH_TRACKER_H_ |
| 6 #define CHROME_BROWSER_PREFS_PREF_HASH_TRACKER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace base { |
| 11 class Value; |
| 12 } // namespace base |
| 13 |
| 14 // Updates stored preference value hashes in response to preference value |
| 15 // changes. |
| 16 class PrefHashTracker { |
| 17 public: |
| 18 virtual ~PrefHashTracker() {} |
| 19 |
| 20 // Receives notification of preference value changes. |
| 21 virtual void OnPrefValueChanged(const std::string& path, |
| 22 const base::Value* new_value) = 0; |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_PREFS_PREF_HASH_TRACKER_H_ |
OLD | NEW |