| 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 <memory> | 10 #include <memory> |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 189 |
| 190 void GetCacheParameters(bool is_media_context, | 190 void GetCacheParameters(bool is_media_context, |
| 191 base::FilePath* cache_path, | 191 base::FilePath* cache_path, |
| 192 int* max_size); | 192 int* max_size); |
| 193 | 193 |
| 194 PrefProxyConfigTracker* CreateProxyConfigTracker(); | 194 PrefProxyConfigTracker* CreateProxyConfigTracker(); |
| 195 | 195 |
| 196 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> | 196 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> |
| 197 CreateDomainReliabilityMonitor(PrefService* local_state); | 197 CreateDomainReliabilityMonitor(PrefService* local_state); |
| 198 | 198 |
| 199 // Creates an instance of the Identity Service for this Profile, populating it |
| 200 // with the appropriate instances of its dependencies. |
| 201 std::unique_ptr<service_manager::Service> CreateIdentityService(); |
| 202 |
| 199 PrefChangeRegistrar pref_change_registrar_; | 203 PrefChangeRegistrar pref_change_registrar_; |
| 200 | 204 |
| 201 base::FilePath path_; | 205 base::FilePath path_; |
| 202 base::FilePath base_cache_path_; | 206 base::FilePath base_cache_path_; |
| 203 | 207 |
| 204 // !!! BIG HONKING WARNING !!! | 208 // !!! BIG HONKING WARNING !!! |
| 205 // The order of the members below is important. Do not change it unless | 209 // The order of the members below is important. Do not change it unless |
| 206 // you know what you're doing. Also, if adding a new member here make sure | 210 // you know what you're doing. Also, if adding a new member here make sure |
| 207 // that the declaration occurs AFTER things it depends on as destruction | 211 // that the declaration occurs AFTER things it depends on as destruction |
| 208 // happens in reverse order of declaration. | 212 // happens in reverse order of declaration. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // components/keyed_service/content/browser_context_keyed_service_factory.* | 277 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 274 | 278 |
| 275 Profile::Delegate* delegate_; | 279 Profile::Delegate* delegate_; |
| 276 | 280 |
| 277 chrome_browser_net::Predictor* predictor_; | 281 chrome_browser_net::Predictor* predictor_; |
| 278 | 282 |
| 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 283 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 280 }; | 284 }; |
| 281 | 285 |
| 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 286 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |