| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // that this method is called. | 188 // that this method is called. |
| 187 virtual VisitedLinkMaster* GetVisitedLinkMaster() = 0; | 189 virtual VisitedLinkMaster* GetVisitedLinkMaster() = 0; |
| 188 | 190 |
| 189 // DEPRECATED. Instead, use ExtensionSystem::extension_service(). | 191 // DEPRECATED. Instead, use ExtensionSystem::extension_service(). |
| 190 // Retrieves a pointer to the ExtensionService associated with this | 192 // Retrieves a pointer to the ExtensionService associated with this |
| 191 // profile. The ExtensionService is created at startup. | 193 // profile. The ExtensionService is created at startup. |
| 192 // TODO(yoz): remove this accessor (bug 104095). | 194 // TODO(yoz): remove this accessor (bug 104095). |
| 193 virtual ExtensionService* GetExtensionService() = 0; | 195 virtual ExtensionService* GetExtensionService() = 0; |
| 194 | 196 |
| 195 // DEPRECATED. Instead, use ExtensionSystem::user_script_master(). | 197 // DEPRECATED. Instead, use ExtensionSystem::user_script_master(). |
| 196 // Retrieves a pointer to the UserScriptMaster associated with this | 198 // Retrieves a pointer to the extensions::UserScriptMaster associated with |
| 197 // profile. The UserScriptMaster is lazily created the first time | 199 // this profile. The extensions::UserScriptMaster is lazily created the first |
| 198 // that this method is called. | 200 // time that this method is called. |
| 199 // TODO(yoz): remove this accessor (bug 104095). | 201 // TODO(yoz): remove this accessor (bug 104095). |
| 200 virtual UserScriptMaster* GetUserScriptMaster() = 0; | 202 virtual extensions::UserScriptMaster* GetUserScriptMaster() = 0; |
| 201 | 203 |
| 202 // DEPRECATED. Instead, use ExtensionSystem::process_manager(). | 204 // DEPRECATED. Instead, use ExtensionSystem::process_manager(). |
| 203 // Retrieves a pointer to the ExtensionProcessManager associated with this | 205 // Retrieves a pointer to the ExtensionProcessManager associated with this |
| 204 // profile. The instance is created at startup. | 206 // profile. The instance is created at startup. |
| 205 // TODO(yoz): remove this accessor (bug 104095). | 207 // TODO(yoz): remove this accessor (bug 104095). |
| 206 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; | 208 virtual ExtensionProcessManager* GetExtensionProcessManager() = 0; |
| 207 | 209 |
| 208 // DEPRECATED. Instead, use ExtensionSystem::event_router(). | 210 // DEPRECATED. Instead, use ExtensionSystem::event_router(). |
| 209 // Accessor. The instance is created at startup. | 211 // Accessor. The instance is created at startup. |
| 210 // TODO(yoz): remove this accessor (bug 104095). | 212 // TODO(yoz): remove this accessor (bug 104095). |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 struct hash<Profile*> { | 426 struct hash<Profile*> { |
| 425 std::size_t operator()(Profile* const& p) const { | 427 std::size_t operator()(Profile* const& p) const { |
| 426 return reinterpret_cast<std::size_t>(p); | 428 return reinterpret_cast<std::size_t>(p); |
| 427 } | 429 } |
| 428 }; | 430 }; |
| 429 | 431 |
| 430 } // namespace BASE_HASH_NAMESPACE | 432 } // namespace BASE_HASH_NAMESPACE |
| 431 #endif | 433 #endif |
| 432 | 434 |
| 433 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 435 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |