| 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_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 class ExtensionSpecialStoragePolicy; | 25 class ExtensionSpecialStoragePolicy; |
| 26 class FaviconService; | 26 class FaviconService; |
| 27 class GAIAInfoUpdateService; | 27 class GAIAInfoUpdateService; |
| 28 class HistoryService; | 28 class HistoryService; |
| 29 class HostContentSettingsMap; | 29 class HostContentSettingsMap; |
| 30 class PasswordStore; | 30 class PasswordStore; |
| 31 class PrefService; | 31 class PrefService; |
| 32 class PromoCounter; | 32 class PromoCounter; |
| 33 class ProtocolHandlerRegistry; | 33 class ProtocolHandlerRegistry; |
| 34 class TestingProfile; | 34 class TestingProfile; |
| 35 class UserScriptMaster; | |
| 36 class VisitedLinkMaster; | 35 class VisitedLinkMaster; |
| 37 class WebDataService; | 36 class WebDataService; |
| 38 | 37 |
| 39 namespace android { | 38 namespace android { |
| 40 class TabContentsProvider; | 39 class TabContentsProvider; |
| 41 } | 40 } |
| 42 | 41 |
| 43 namespace base { | 42 namespace base { |
| 44 class Time; | 43 class Time; |
| 45 } | 44 } |
| 46 | 45 |
| 47 namespace chrome_browser_net { | 46 namespace chrome_browser_net { |
| 48 class Predictor; | 47 class Predictor; |
| 49 } | 48 } |
| 50 | 49 |
| 51 namespace chromeos { | 50 namespace chromeos { |
| 52 class LibCrosServiceLibraryImpl; | 51 class LibCrosServiceLibraryImpl; |
| 53 class ResetDefaultProxyConfigServiceTask; | 52 class ResetDefaultProxyConfigServiceTask; |
| 54 } | 53 } |
| 55 | 54 |
| 56 | |
| 57 namespace content { | 55 namespace content { |
| 58 class WebUI; | 56 class WebUI; |
| 59 } | 57 } |
| 60 | 58 |
| 59 namespace extensions { |
| 60 class UserScriptMaster; |
| 61 } |
| 62 |
| 61 namespace fileapi { | 63 namespace fileapi { |
| 62 class FileSystemContext; | 64 class FileSystemContext; |
| 63 } | 65 } |
| 64 | 66 |
| 65 namespace history { | 67 namespace history { |
| 66 class TopSites; | 68 class TopSites; |
| 67 class ShortcutsBackend; | 69 class ShortcutsBackend; |
| 68 } | 70 } |
| 69 | 71 |
| 70 namespace net { | 72 namespace net { |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 // that this method is called. | 194 // that this method is called. |
| 193 virtual VisitedLinkMaster* GetVisitedLinkMaster() = 0; | 195 virtual VisitedLinkMaster* GetVisitedLinkMaster() = 0; |
| 194 | 196 |
| 195 // DEPRECATED. Instead, use ExtensionSystem::extension_service(). | 197 // DEPRECATED. Instead, use ExtensionSystem::extension_service(). |
| 196 // Retrieves a pointer to the ExtensionService associated with this | 198 // Retrieves a pointer to the ExtensionService associated with this |
| 197 // profile. The ExtensionService is created at startup. | 199 // profile. The ExtensionService is created at startup. |
| 198 // TODO(yoz): remove this accessor (bug 104095). | 200 // TODO(yoz): remove this accessor (bug 104095). |
| 199 virtual ExtensionService* GetExtensionService() = 0; | 201 virtual ExtensionService* GetExtensionService() = 0; |
| 200 | 202 |
| 201 // DEPRECATED. Instead, use ExtensionSystem::user_script_master(). | 203 // DEPRECATED. Instead, use ExtensionSystem::user_script_master(). |
| 202 // Retrieves a pointer to the UserScriptMaster associated with this | 204 // Retrieves a pointer to the extensions::UserScriptMaster associated with |
| 203 // profile. The UserScriptMaster is lazily created the first time | 205 // this profile. The extensions::UserScriptMaster is lazily created the first |
| 204 // that this method is called. | 206 // time that this method is called. |
| 205 // TODO(yoz): remove this accessor (bug 104095). | 207 // TODO(yoz): remove this accessor (bug 104095). |
| 206 virtual UserScriptMaster* GetUserScriptMaster() = 0; | 208 virtual extensions::UserScriptMaster* GetUserScriptMaster() = 0; |
| 207 | 209 |
| 208 // DEPRECATED. Instead, use ExtensionSystem::process_manager(). | 210 // DEPRECATED. Instead, use ExtensionSystem::process_manager(). |
| 209 // Retrieves a pointer to the ExtensionProcessManager associated with this | 211 // Retrieves a pointer to the ExtensionProcessManager associated with this |
| 210 // profile. The instance is created at startup. | 212 // profile. The instance is created at startup. |
| 211 // TODO(yoz): remove this accessor (bug 104095). | 213 // TODO(yoz): remove this accessor (bug 104095). |
| 212 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; | 214 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; |
| 213 | 215 |
| 214 // DEPRECATED. Instead, use ExtensionSystem::event_router(). | 216 // DEPRECATED. Instead, use ExtensionSystem::event_router(). |
| 215 // Accessor. The instance is created at startup. | 217 // Accessor. The instance is created at startup. |
| 216 // TODO(yoz): remove this accessor (bug 104095). | 218 // TODO(yoz): remove this accessor (bug 104095). |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 struct hash<Profile*> { | 440 struct hash<Profile*> { |
| 439 std::size_t operator()(Profile* const& p) const { | 441 std::size_t operator()(Profile* const& p) const { |
| 440 return reinterpret_cast<std::size_t>(p); | 442 return reinterpret_cast<std::size_t>(p); |
| 441 } | 443 } |
| 442 }; | 444 }; |
| 443 | 445 |
| 444 } // namespace BASE_HASH_NAMESPACE | 446 } // namespace BASE_HASH_NAMESPACE |
| 445 #endif | 447 #endif |
| 446 | 448 |
| 447 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 449 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |