| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PREF_NOTIFIER_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_ |
| 6 #define CHROME_BROWSER_PREF_NOTIFIER_H_ | 6 #define CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
| 13 #include "base/non_thread_safe.h" | 13 #include "base/non_thread_safe.h" |
| 14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 15 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
| 16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 std::vector<std::string> changed_prefs_paths); | 102 std::vector<std::string> changed_prefs_paths); |
| 103 | 103 |
| 104 // NotificationObserver methods: | 104 // NotificationObserver methods: |
| 105 virtual void Observe(NotificationType type, | 105 virtual void Observe(NotificationType type, |
| 106 const NotificationSource& source, | 106 const NotificationSource& source, |
| 107 const NotificationDetails& details); | 107 const NotificationDetails& details); |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(PrefNotifier); | 109 DISALLOW_COPY_AND_ASSIGN(PrefNotifier); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 #endif // CHROME_BROWSER_PREF_NOTIFIER_H_ | 112 #endif // CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_ |
| OLD | NEW |