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_OPTIONS_PAGE_BASE_H_ | 5 #ifndef CHROME_BROWSER_UI_OPTIONS_OPTIONS_PAGE_BASE_H_ |
6 #define CHROME_BROWSER_OPTIONS_PAGE_BASE_H_ | 6 #define CHROME_BROWSER_UI_OPTIONS_OPTIONS_PAGE_BASE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/browser/options_window.h" | 12 #include "chrome/browser/metrics/user_metrics.h" |
| 13 #include "chrome/browser/ui/options/options_window.h" |
13 #include "chrome/common/notification_observer.h" | 14 #include "chrome/common/notification_observer.h" |
14 #include "chrome/browser/metrics/user_metrics.h" | |
15 | 15 |
16 class PrefService; | 16 class PrefService; |
17 class Profile; | 17 class Profile; |
18 struct UserMetricsAction; | 18 struct UserMetricsAction; |
19 | 19 |
20 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
21 // OptionsPageBase | 21 // OptionsPageBase |
22 // | 22 // |
23 // A base class for Options dialog pages that handles observing preferences | 23 // A base class for Options dialog pages that handles observing preferences |
24 // | 24 // |
(...skipping 27 matching lines...) Expand all Loading... |
52 // parameter to allow initial state to be set. | 52 // parameter to allow initial state to be set. |
53 virtual void NotifyPrefChanged(const std::string* pref_name) {} | 53 virtual void NotifyPrefChanged(const std::string* pref_name) {} |
54 | 54 |
55 private: | 55 private: |
56 // The Profile associated with this page. | 56 // The Profile associated with this page. |
57 Profile* profile_; | 57 Profile* profile_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(OptionsPageBase); | 59 DISALLOW_COPY_AND_ASSIGN(OptionsPageBase); |
60 }; | 60 }; |
61 | 61 |
62 #endif // CHROME_BROWSER_OPTIONS_PAGE_BASE_H_ | 62 #endif // CHROME_BROWSER_UI_OPTIONS_OPTIONS_PAGE_BASE_H_ |
OLD | NEW |