| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 ProfileImpl(const FilePath& path, | 143 ProfileImpl(const FilePath& path, |
| 144 Delegate* delegate, | 144 Delegate* delegate, |
| 145 CreateMode create_mode); | 145 CreateMode create_mode); |
| 146 | 146 |
| 147 // Does final initialization. Should be called after prefs were loaded. | 147 // Does final initialization. Should be called after prefs were loaded. |
| 148 void DoFinalInit(bool is_new_profile); | 148 void DoFinalInit(bool is_new_profile); |
| 149 | 149 |
| 150 void InitHostZoomMap(); | 150 void InitHostZoomMap(); |
| 151 | 151 |
| 152 // The installation of any pre-defined protocol handlers. |
| 153 void InstallFixedProtocolHandlers(); |
| 154 |
| 152 // Does final prefs initialization and calls Init(). | 155 // Does final prefs initialization and calls Init(). |
| 153 void OnPrefsLoaded(bool success); | 156 void OnPrefsLoaded(bool success); |
| 154 | 157 |
| 155 void CreateWebDataService(); | 158 void CreateWebDataService(); |
| 156 FilePath GetPrefFilePath(); | 159 FilePath GetPrefFilePath(); |
| 157 | 160 |
| 158 #if defined(ENABLE_SESSION_SERVICE) | 161 #if defined(ENABLE_SESSION_SERVICE) |
| 159 void StopCreateSessionServiceTimer(); | 162 void StopCreateSessionServiceTimer(); |
| 160 | 163 |
| 161 void EnsureSessionServiceCreated(); | 164 void EnsureSessionServiceCreated(); |
| (...skipping 107 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 |