| 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 // 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_PROFILES_PROFILE_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 #if defined(OS_CHROMEOS) | 150 #if defined(OS_CHROMEOS) |
| 151 friend class chromeos::KioskTest; | 151 friend class chromeos::KioskTest; |
| 152 friend class chromeos::SupervisedUserTestBase; | 152 friend class chromeos::SupervisedUserTestBase; |
| 153 #endif | 153 #endif |
| 154 friend class Profile; | 154 friend class Profile; |
| 155 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, | 155 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, |
| 156 ProfilesLaunchedAfterCrash); | 156 ProfilesLaunchedAfterCrash); |
| 157 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DISABLED_ProfileReadmeCreated); | 157 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DISABLED_ProfileReadmeCreated); |
| 158 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, | 158 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, |
| 159 ProfileDeletedBeforeReadmeCreated); | 159 ProfileDeletedBeforeReadmeCreated); |
| 160 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DiskCacheDirOverride); |
| 160 | 161 |
| 161 ProfileImpl(const base::FilePath& path, | 162 ProfileImpl(const base::FilePath& path, |
| 162 Delegate* delegate, | 163 Delegate* delegate, |
| 163 CreateMode create_mode, | 164 CreateMode create_mode, |
| 164 base::SequencedTaskRunner* sequenced_task_runner); | 165 base::SequencedTaskRunner* sequenced_task_runner); |
| 165 | 166 |
| 166 // Does final initialization. Should be called after prefs were loaded. | 167 // Does final initialization. Should be called after prefs were loaded. |
| 167 void DoFinalInit(); | 168 void DoFinalInit(); |
| 168 | 169 |
| 169 // Switch locale (when possible) and proceed to OnLocaleReady(). | 170 // Switch locale (when possible) and proceed to OnLocaleReady(). |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 // components/keyed_service/content/browser_context_keyed_service_factory.* | 270 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 270 | 271 |
| 271 Profile::Delegate* delegate_; | 272 Profile::Delegate* delegate_; |
| 272 | 273 |
| 273 chrome_browser_net::Predictor* predictor_; | 274 chrome_browser_net::Predictor* predictor_; |
| 274 | 275 |
| 275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 276 }; | 277 }; |
| 277 | 278 |
| 278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |