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 // This class gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
6 | 6 |
7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILE_IMPL_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profile.h" |
16 #include "chrome/browser/spellcheck_host_observer.h" | 16 #include "chrome/browser/spellcheck_host_observer.h" |
| 17 #include "chrome/common/notification_observer.h" |
17 #include "chrome/common/notification_registrar.h" | 18 #include "chrome/common/notification_registrar.h" |
18 | 19 |
19 #if defined(OS_CHROMEOS) | 20 #if defined(OS_CHROMEOS) |
20 #include "chrome/browser/chromeos/preferences.h" | 21 #include "chrome/browser/chromeos/preferences.h" |
21 #endif | 22 #endif |
22 | 23 |
23 // The default profile implementation. | 24 // The default profile implementation. |
24 class ProfileImpl : public Profile, | 25 class ProfileImpl : public Profile, |
25 public SpellCheckHostObserver, | 26 public SpellCheckHostObserver, |
26 public NotificationObserver { | 27 public NotificationObserver { |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 230 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
230 | 231 |
231 #if defined(OS_CHROMEOS) | 232 #if defined(OS_CHROMEOS) |
232 chromeos::Preferences chromeos_preferences_; | 233 chromeos::Preferences chromeos_preferences_; |
233 #endif | 234 #endif |
234 | 235 |
235 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 236 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
236 }; | 237 }; |
237 | 238 |
238 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 239 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
OLD | NEW |