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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; | 134 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; |
135 | 135 |
136 // content::NotificationObserver implementation. | 136 // content::NotificationObserver implementation. |
137 virtual void Observe(int type, | 137 virtual void Observe(int type, |
138 const content::NotificationSource& source, | 138 const content::NotificationSource& source, |
139 const content::NotificationDetails& details) OVERRIDE; | 139 const content::NotificationDetails& details) OVERRIDE; |
140 | 140 |
141 private: | 141 private: |
142 friend class Profile; | 142 friend class Profile; |
| 143 friend class BetterSessionRestoreCrashTest; |
143 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, | 144 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, |
144 ProfilesLaunchedAfterCrash); | 145 ProfilesLaunchedAfterCrash); |
145 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); | 146 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); |
146 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, | 147 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, |
147 ProfileDeletedBeforeReadmeCreated); | 148 ProfileDeletedBeforeReadmeCreated); |
148 | 149 |
149 // Delay, in milliseconds, before README file is created for a new profile. | 150 // Delay, in milliseconds, before README file is created for a new profile. |
150 // This is non-const for testing purposes. | 151 // This is non-const for testing purposes. |
151 static int create_readme_delay_ms; | 152 static int create_readme_delay_ms; |
152 | 153 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 277 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
277 | 278 |
278 Profile::Delegate* delegate_; | 279 Profile::Delegate* delegate_; |
279 | 280 |
280 chrome_browser_net::Predictor* predictor_; | 281 chrome_browser_net::Predictor* predictor_; |
281 | 282 |
282 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 283 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
283 }; | 284 }; |
284 | 285 |
285 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 286 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |