OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_ALTERNATE_ERROR_TAB_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_UI_ALTERNATE_ERROR_TAB_OBSERVER_H_ |
6 #define CHROME_BROWSER_UI_ALTERNATE_ERROR_TAB_OBSERVER_H_ | 6 #define CHROME_BROWSER_UI_ALTERNATE_ERROR_TAB_OBSERVER_H_ |
7 | 7 |
8 #include "base/prefs/pref_change_registrar.h" | 8 #include "base/prefs/pref_change_registrar.h" |
9 #include "content/public/browser/notification_observer.h" | 9 #include "content/public/browser/notification_observer.h" |
10 #include "content/public/browser/notification_registrar.h" | 10 #include "content/public/browser/notification_registrar.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 void UpdateAlternateErrorPageURL(content::RenderViewHost* rvh); | 52 void UpdateAlternateErrorPageURL(content::RenderViewHost* rvh); |
53 | 53 |
54 Profile* profile_; | 54 Profile* profile_; |
55 content::NotificationRegistrar registrar_; | 55 content::NotificationRegistrar registrar_; |
56 PrefChangeRegistrar pref_change_registrar_; | 56 PrefChangeRegistrar pref_change_registrar_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(AlternateErrorPageTabObserver); | 58 DISALLOW_COPY_AND_ASSIGN(AlternateErrorPageTabObserver); |
59 }; | 59 }; |
60 | 60 |
61 #endif // CHROME_BROWSER_UI_ALTERNATE_ERROR_TAB_OBSERVER_H_ | 61 #endif // CHROME_BROWSER_UI_ALTERNATE_ERROR_TAB_OBSERVER_H_ |
OLD | NEW |