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 InitDataReductionProxy( | |
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 RunInitDataReductionProxyTask(); | |
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
278 // and you can read the raw headers here: | 293 // and you can read the raw headers here: |
279 // | 294 // |
280 // components/keyed_service/content/browser_context_dependency_manager.* | 295 // components/keyed_service/content/browser_context_dependency_manager.* |
281 // components/keyed_service/core/keyed_service.h | 296 // components/keyed_service/core/keyed_service.h |
282 // components/keyed_service/content/browser_context_keyed_service_factory.* | 297 // components/keyed_service/content/browser_context_keyed_service_factory.* |
283 | 298 |
284 Profile::Delegate* delegate_; | 299 Profile::Delegate* delegate_; |
285 | 300 |
286 chrome_browser_net::Predictor* predictor_; | 301 chrome_browser_net::Predictor* predictor_; |
287 | 302 |
303 DataReductionProxyChromeSettings* data_reduction_proxy_chrome_settings_; | |
willchan no longer on Chromium
2014/07/29 00:26:56
The comments above say not to add any more. What d
bengr
2014/07/29 21:29:52
Done. Removed.
On 2014/07/29 00:26:56, willchan w
| |
304 | |
288 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 305 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
289 }; | 306 }; |
290 | 307 |
291 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 308 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |