| 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 <string> | |
| 12 | |
| 13 #include "chrome/browser/profile.h" | 11 #include "chrome/browser/profile.h" |
| 14 #include "chrome/browser/spellcheck_host_observer.h" | 12 #include "chrome/browser/spellcheck_host_observer.h" |
| 15 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
| 16 | 14 |
| 17 #if defined(OS_CHROMEOS) | 15 #if defined(OS_CHROMEOS) |
| 18 #include "chrome/browser/chromeos/preferences.h" | 16 #include "chrome/browser/chromeos/preferences.h" |
| 19 #endif | 17 #endif |
| 20 | 18 |
| 21 // The default profile implementation. | 19 // The default profile implementation. |
| 22 class ProfileImpl : public Profile, | 20 class ProfileImpl : public Profile, |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. | 222 scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| 225 | 223 |
| 226 #if defined(OS_CHROMEOS) | 224 #if defined(OS_CHROMEOS) |
| 227 chromeos::Preferences chromeos_preferences_; | 225 chromeos::Preferences chromeos_preferences_; |
| 228 #endif | 226 #endif |
| 229 | 227 |
| 230 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 228 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 231 }; | 229 }; |
| 232 | 230 |
| 233 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ | 231 #endif // CHROME_BROWSER_PROFILE_IMPL_H_ |
| OLD | NEW |