| 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_MANAGED_PREFS_BANNER_BASE_H_ | 5 #ifndef CHROME_BROWSER_MANAGED_PREFS_BANNER_BASE_H_ |
| 6 #define CHROME_BROWSER_MANAGED_PREFS_BANNER_BASE_H_ | 6 #define CHROME_BROWSER_MANAGED_PREFS_BANNER_BASE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | |
| 10 #include <string> | 9 #include <string> |
| 11 | 10 |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 14 #include "chrome/browser/options_window.h" | 13 #include "chrome/browser/options_window.h" |
| 15 #include "chrome/browser/pref_set_observer.h" | 14 #include "chrome/browser/pref_set_observer.h" |
| 16 #include "chrome/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
| 17 | 16 |
| 18 class PrefService; | 17 class PrefService; |
| 19 | 18 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 virtual void Observe(NotificationType type, | 61 virtual void Observe(NotificationType type, |
| 63 const NotificationSource& source, | 62 const NotificationSource& source, |
| 64 const NotificationDetails& details); | 63 const NotificationDetails& details); |
| 65 | 64 |
| 66 scoped_ptr<PrefSetObserver> local_state_set_; | 65 scoped_ptr<PrefSetObserver> local_state_set_; |
| 67 scoped_ptr<PrefSetObserver> user_pref_set_; | 66 scoped_ptr<PrefSetObserver> user_pref_set_; |
| 68 | 67 |
| 69 DISALLOW_COPY_AND_ASSIGN(ManagedPrefsBannerBase); | 68 DISALLOW_COPY_AND_ASSIGN(ManagedPrefsBannerBase); |
| 70 }; | 69 }; |
| 71 #endif // CHROME_BROWSER_MANAGED_PREFS_BANNER_BASE_H_ | 70 #endif // CHROME_BROWSER_MANAGED_PREFS_BANNER_BASE_H_ |
| OLD | NEW |