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_PREFS_PREFS_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/prefs/pref_change_registrar.h" | 10 #include "chrome/browser/prefs/pref_change_registrar.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 | 13 |
14 class OverlayUserPrefStore; | 14 class OverlayUserPrefStore; |
15 class PrefService; | 15 class PrefService; |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class WebContents; | 19 class WebContents; |
(...skipping 24 matching lines...) Expand all Loading... |
44 Profile* GetProfile(); | 44 Profile* GetProfile(); |
45 | 45 |
46 content::WebContents* web_contents_; | 46 content::WebContents* web_contents_; |
47 content::NotificationRegistrar registrar_; | 47 content::NotificationRegistrar registrar_; |
48 PrefChangeRegistrar pref_change_registrar_; | 48 PrefChangeRegistrar pref_change_registrar_; |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper); | 50 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper); |
51 }; | 51 }; |
52 | 52 |
53 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ | 53 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ |
OLD | NEW |