| 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 class DataReductionProxyChromeSettings; |
| 44 |
| 43 namespace domain_reliability { | 45 namespace domain_reliability { |
| 44 class DomainReliabilityMonitor; | 46 class DomainReliabilityMonitor; |
| 45 } | 47 } |
| 46 | 48 |
| 47 namespace extensions { | 49 namespace extensions { |
| 48 class ExtensionSystem; | 50 class ExtensionSystem; |
| 49 } | 51 } |
| 50 | 52 |
| 51 namespace policy { | 53 namespace policy { |
| 52 class CloudPolicyManager; | 54 class CloudPolicyManager; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 ProfileImpl(const base::FilePath& path, | 162 ProfileImpl(const base::FilePath& path, |
| 161 Delegate* delegate, | 163 Delegate* delegate, |
| 162 CreateMode create_mode, | 164 CreateMode create_mode, |
| 163 base::SequencedTaskRunner* sequenced_task_runner); | 165 base::SequencedTaskRunner* sequenced_task_runner); |
| 164 | 166 |
| 165 // Does final initialization. Should be called after prefs were loaded. | 167 // Does final initialization. Should be called after prefs were loaded. |
| 166 void DoFinalInit(); | 168 void DoFinalInit(); |
| 167 | 169 |
| 168 void InitHostZoomMap(); | 170 void InitHostZoomMap(); |
| 169 | 171 |
| 172 // Initialize the data reduction proxy. |
| 173 void InitDataReductionProxy(base::Callback<void(bool)>* unavailable_callback); |
| 174 |
| 175 // Run final initialization steps that must occur after the profile is |
| 176 // initialized. |
| 177 void RunInitDataReductionProxyTask(); |
| 178 |
| 170 void OnDefaultZoomLevelChanged(); | 179 void OnDefaultZoomLevelChanged(); |
| 171 void OnZoomLevelChanged( | 180 void OnZoomLevelChanged( |
| 172 const content::HostZoomMap::ZoomLevelChange& change); | 181 const content::HostZoomMap::ZoomLevelChange& change); |
| 173 | 182 |
| 174 // Does final prefs initialization and calls Init(). | 183 // Does final prefs initialization and calls Init(). |
| 175 void OnPrefsLoaded(bool success); | 184 void OnPrefsLoaded(bool success); |
| 176 | 185 |
| 177 #if defined(ENABLE_SESSION_SERVICE) | 186 #if defined(ENABLE_SESSION_SERVICE) |
| 178 void StopCreateSessionServiceTimer(); | 187 void StopCreateSessionServiceTimer(); |
| 179 | 188 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 // and you can read the raw headers here: | 287 // and you can read the raw headers here: |
| 279 // | 288 // |
| 280 // components/keyed_service/content/browser_context_dependency_manager.* | 289 // components/keyed_service/content/browser_context_dependency_manager.* |
| 281 // components/keyed_service/core/keyed_service.h | 290 // components/keyed_service/core/keyed_service.h |
| 282 // components/keyed_service/content/browser_context_keyed_service_factory.* | 291 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 283 | 292 |
| 284 Profile::Delegate* delegate_; | 293 Profile::Delegate* delegate_; |
| 285 | 294 |
| 286 chrome_browser_net::Predictor* predictor_; | 295 chrome_browser_net::Predictor* predictor_; |
| 287 | 296 |
| 297 DataReductionProxyChromeSettings* data_reduction_proxy_chrome_settings_; |
| 298 |
| 288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 299 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 289 }; | 300 }; |
| 290 | 301 |
| 291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 302 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |