| 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 ProfileImpl(const FilePath& path, | 142 ProfileImpl(const FilePath& path, |
| 143 Delegate* delegate, | 143 Delegate* delegate, |
| 144 CreateMode create_mode); | 144 CreateMode create_mode); |
| 145 | 145 |
| 146 // Does final initialization. Should be called after prefs were loaded. | 146 // Does final initialization. Should be called after prefs were loaded. |
| 147 void DoFinalInit(bool is_new_profile); | 147 void DoFinalInit(bool is_new_profile); |
| 148 | 148 |
| 149 void InitHostZoomMap(); | 149 void InitHostZoomMap(); |
| 150 | 150 |
| 151 // The installation of any pre-defined protocol handlers. |
| 152 void InstallDefaultProtocolHandlers(); |
| 153 |
| 151 // Does final prefs initialization and calls Init(). | 154 // Does final prefs initialization and calls Init(). |
| 152 void OnPrefsLoaded(bool success); | 155 void OnPrefsLoaded(bool success); |
| 153 | 156 |
| 154 void CreateWebDataService(); | 157 void CreateWebDataService(); |
| 155 FilePath GetPrefFilePath(); | 158 FilePath GetPrefFilePath(); |
| 156 | 159 |
| 157 #if defined(ENABLE_SESSION_SERVICE) | 160 #if defined(ENABLE_SESSION_SERVICE) |
| 158 void StopCreateSessionServiceTimer(); | 161 void StopCreateSessionServiceTimer(); |
| 159 | 162 |
| 160 void EnsureSessionServiceCreated(); | 163 void EnsureSessionServiceCreated(); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 Profile::Delegate* delegate_; | 272 Profile::Delegate* delegate_; |
| 270 | 273 |
| 271 chrome_browser_net::Predictor* predictor_; | 274 chrome_browser_net::Predictor* predictor_; |
| 272 | 275 |
| 273 bool session_restore_enabled_; | 276 bool session_restore_enabled_; |
| 274 | 277 |
| 275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 276 }; | 279 }; |
| 277 | 280 |
| 278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |