| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 class ExtensionPrefValueMap; | 68 class ExtensionPrefValueMap; |
| 69 class ExtensionProcessManager; | 69 class ExtensionProcessManager; |
| 70 class ExtensionService; | 70 class ExtensionService; |
| 71 class ExtensionSpecialStoragePolicy; | 71 class ExtensionSpecialStoragePolicy; |
| 72 class FaviconService; | 72 class FaviconService; |
| 73 class FindBarState; | 73 class FindBarState; |
| 74 class HistoryService; | 74 class HistoryService; |
| 75 class HostContentSettingsMap; | 75 class HostContentSettingsMap; |
| 76 class NavigationController; | 76 class NavigationController; |
| 77 class PasswordStore; | 77 class PasswordStore; |
| 78 class PersonalDataManager; | |
| 79 class PrefProxyConfigTracker; | 78 class PrefProxyConfigTracker; |
| 80 class PrefService; | 79 class PrefService; |
| 81 class ProfileSyncFactory; | 80 class ProfileSyncFactory; |
| 82 class ProfileSyncService; | 81 class ProfileSyncService; |
| 83 class PromoCounter; | 82 class PromoCounter; |
| 84 class PromoResourceService; | 83 class PromoResourceService; |
| 85 class ProtocolHandlerRegistry; | 84 class ProtocolHandlerRegistry; |
| 86 class SQLitePersistentCookieStore; | 85 class SQLitePersistentCookieStore; |
| 87 class SSLConfigServiceManager; | 86 class SSLConfigServiceManager; |
| 88 class SpellCheckHost; | 87 class SpellCheckHost; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 | 338 |
| 340 // Retrieves a pointer to the PrefService that manages the preferences | 339 // Retrieves a pointer to the PrefService that manages the preferences |
| 341 // for OffTheRecord Profiles. This PrefService is lazily created the first | 340 // for OffTheRecord Profiles. This PrefService is lazily created the first |
| 342 // time that this method is called. | 341 // time that this method is called. |
| 343 virtual PrefService* GetOffTheRecordPrefs() = 0; | 342 virtual PrefService* GetOffTheRecordPrefs() = 0; |
| 344 | 343 |
| 345 // Returns the TemplateURLFetcher for this profile. This is owned by the | 344 // Returns the TemplateURLFetcher for this profile. This is owned by the |
| 346 // profile. | 345 // profile. |
| 347 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; | 346 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; |
| 348 | 347 |
| 349 // Returns the PersonalDataManager associated with this profile. | |
| 350 virtual PersonalDataManager* GetPersonalDataManager() = 0; | |
| 351 | |
| 352 // Returns the request context used for extension-related requests. This | 348 // Returns the request context used for extension-related requests. This |
| 353 // is only used for a separate cookie store currently. | 349 // is only used for a separate cookie store currently. |
| 354 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; | 350 virtual net::URLRequestContextGetter* GetRequestContextForExtensions() = 0; |
| 355 | 351 |
| 356 // Returns the request context used within an installed app that has | 352 // Returns the request context used within an installed app that has |
| 357 // requested isolated storage. | 353 // requested isolated storage. |
| 358 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 354 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( |
| 359 const std::string& app_id) = 0; | 355 const std::string& app_id) = 0; |
| 360 | 356 |
| 361 // Called by the ExtensionService that lives in this profile. Gives the | 357 // Called by the ExtensionService that lives in this profile. Gives the |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 struct hash<Profile*> { | 579 struct hash<Profile*> { |
| 584 std::size_t operator()(Profile* const& p) const { | 580 std::size_t operator()(Profile* const& p) const { |
| 585 return reinterpret_cast<std::size_t>(p); | 581 return reinterpret_cast<std::size_t>(p); |
| 586 } | 582 } |
| 587 }; | 583 }; |
| 588 | 584 |
| 589 } // namespace __gnu_cxx | 585 } // namespace __gnu_cxx |
| 590 #endif | 586 #endif |
| 591 | 587 |
| 592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 588 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |