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 <string> | 10 #include <string> |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 private: | 143 private: |
144 #if defined(OS_CHROMEOS) | 144 #if defined(OS_CHROMEOS) |
145 friend class chromeos::KioskTest; | 145 friend class chromeos::KioskTest; |
146 friend class chromeos::ManagedUserTestBase; | 146 friend class chromeos::ManagedUserTestBase; |
147 #endif | 147 #endif |
148 friend class Profile; | 148 friend class Profile; |
149 friend class BetterSessionRestoreCrashTest; | 149 friend class BetterSessionRestoreCrashTest; |
150 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, | 150 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, |
151 ProfilesLaunchedAfterCrash); | 151 ProfilesLaunchedAfterCrash); |
152 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); | 152 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, DISABLED_ProfileReadmeCreated); |
153 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, | 153 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, |
154 ProfileDeletedBeforeReadmeCreated); | 154 ProfileDeletedBeforeReadmeCreated); |
155 | 155 |
156 // Delay, in milliseconds, before README file is created for a new profile. | 156 // Delay, in milliseconds, before README file is created for a new profile. |
157 // This is non-const for testing purposes. | 157 // This is non-const for testing purposes. |
158 static int create_readme_delay_ms; | 158 static int create_readme_delay_ms; |
159 | 159 |
160 ProfileImpl(const base::FilePath& path, | 160 ProfileImpl(const base::FilePath& path, |
161 Delegate* delegate, | 161 Delegate* delegate, |
162 CreateMode create_mode, | 162 CreateMode create_mode, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 // components/keyed_service/content/browser_context_keyed_service_factory.* | 282 // components/keyed_service/content/browser_context_keyed_service_factory.* |
283 | 283 |
284 Profile::Delegate* delegate_; | 284 Profile::Delegate* delegate_; |
285 | 285 |
286 chrome_browser_net::Predictor* predictor_; | 286 chrome_browser_net::Predictor* predictor_; |
287 | 287 |
288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
289 }; | 289 }; |
290 | 290 |
291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |