| 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 22 matching lines...) Expand all Loading... |
| 33 class LocaleChangeGuard; | 33 class LocaleChangeGuard; |
| 34 class Preferences; | 34 class Preferences; |
| 35 class SupervisedUserTestBase; | 35 class SupervisedUserTestBase; |
| 36 } | 36 } |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 namespace base { | 39 namespace base { |
| 40 class SequencedTaskRunner; | 40 class SequencedTaskRunner; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace data_reduction_proxy { |
| 44 class DataReductionProxyParams; |
| 45 } |
| 46 |
| 47 class DataReductionProxyChromeSettings; |
| 48 |
| 43 namespace domain_reliability { | 49 namespace domain_reliability { |
| 44 class DomainReliabilityMonitor; | 50 class DomainReliabilityMonitor; |
| 45 } | 51 } |
| 46 | 52 |
| 47 namespace extensions { | 53 namespace extensions { |
| 48 class ExtensionSystem; | 54 class ExtensionSystem; |
| 49 } | 55 } |
| 50 | 56 |
| 51 namespace policy { | 57 namespace policy { |
| 52 class CloudPolicyManager; | 58 class CloudPolicyManager; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 ProfileImpl(const base::FilePath& path, | 166 ProfileImpl(const base::FilePath& path, |
| 161 Delegate* delegate, | 167 Delegate* delegate, |
| 162 CreateMode create_mode, | 168 CreateMode create_mode, |
| 163 base::SequencedTaskRunner* sequenced_task_runner); | 169 base::SequencedTaskRunner* sequenced_task_runner); |
| 164 | 170 |
| 165 // Does final initialization. Should be called after prefs were loaded. | 171 // Does final initialization. Should be called after prefs were loaded. |
| 166 void DoFinalInit(); | 172 void DoFinalInit(); |
| 167 | 173 |
| 168 void InitHostZoomMap(); | 174 void InitHostZoomMap(); |
| 169 | 175 |
| 176 // Initialize the data reduction proxy. |
| 177 void InitDataReductionProxyForIO( |
| 178 scoped_ptr<data_reduction_proxy::DataReductionProxyParams>* params, |
| 179 base::Callback<void(bool)>* unavailable_callback); |
| 180 |
| 181 // Run final initialization steps that must occur after the profile is |
| 182 // initialized. |
| 183 void InitDataReductionProxySettings(); |
| 184 |
| 170 void OnDefaultZoomLevelChanged(); | 185 void OnDefaultZoomLevelChanged(); |
| 171 void OnZoomLevelChanged( | 186 void OnZoomLevelChanged( |
| 172 const content::HostZoomMap::ZoomLevelChange& change); | 187 const content::HostZoomMap::ZoomLevelChange& change); |
| 173 | 188 |
| 174 // Does final prefs initialization and calls Init(). | 189 // Does final prefs initialization and calls Init(). |
| 175 void OnPrefsLoaded(bool success); | 190 void OnPrefsLoaded(bool success); |
| 176 | 191 |
| 177 #if defined(ENABLE_SESSION_SERVICE) | 192 #if defined(ENABLE_SESSION_SERVICE) |
| 178 void StopCreateSessionServiceTimer(); | 193 void StopCreateSessionServiceTimer(); |
| 179 | 194 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 // components/keyed_service/content/browser_context_keyed_service_factory.* | 299 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 285 | 300 |
| 286 Profile::Delegate* delegate_; | 301 Profile::Delegate* delegate_; |
| 287 | 302 |
| 288 chrome_browser_net::Predictor* predictor_; | 303 chrome_browser_net::Predictor* predictor_; |
| 289 | 304 |
| 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 291 }; | 306 }; |
| 292 | 307 |
| 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |