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 10 matching lines...) Expand all Loading... |
21 class Time; | 21 class Time; |
22 } | 22 } |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 class LibCrosServiceLibraryImpl; | 25 class LibCrosServiceLibraryImpl; |
26 class ResetDefaultProxyConfigServiceTask; | 26 class ResetDefaultProxyConfigServiceTask; |
27 } | 27 } |
28 | 28 |
29 namespace fileapi { | 29 namespace fileapi { |
30 class FileSystemContext; | 30 class FileSystemContext; |
31 class SandboxedFileSystemContext; | |
32 } | 31 } |
33 | 32 |
34 namespace history { | 33 namespace history { |
35 class TopSites; | 34 class TopSites; |
36 class ShortcutsBackend; | 35 class ShortcutsBackend; |
37 } | 36 } |
38 | 37 |
39 namespace net { | 38 namespace net { |
40 class SSLConfigService; | 39 class SSLConfigService; |
41 } | 40 } |
42 | 41 |
43 namespace speech_input { | |
44 class SpeechRecognizer; | |
45 } | |
46 | |
47 namespace chrome_browser_net { | 42 namespace chrome_browser_net { |
48 class Predictor; | 43 class Predictor; |
49 } | 44 } |
50 | 45 |
51 class AutocompleteClassifier; | 46 class AutocompleteClassifier; |
52 class BookmarkModel; | 47 class BookmarkModel; |
53 class ChromeAppCacheService; | 48 class ChromeAppCacheService; |
54 class ChromeURLDataManager; | 49 class ChromeURLDataManager; |
55 class Extension; | 50 class Extension; |
56 class ExtensionDevToolsManager; | 51 class ExtensionDevToolsManager; |
57 class ExtensionEventRouter; | 52 class ExtensionEventRouter; |
58 class ExtensionInfoMap; | 53 class ExtensionInfoMap; |
59 class ExtensionMessageService; | 54 class ExtensionMessageService; |
60 class ExtensionPrefValueMap; | |
61 class ExtensionProcessManager; | 55 class ExtensionProcessManager; |
62 class ExtensionService; | 56 class ExtensionService; |
63 class ExtensionSpecialStoragePolicy; | 57 class ExtensionSpecialStoragePolicy; |
64 class FaviconService; | 58 class FaviconService; |
65 class FindBarState; | 59 class FindBarState; |
66 class HistoryService; | 60 class HistoryService; |
67 class HostContentSettingsMap; | 61 class HostContentSettingsMap; |
68 class NavigationController; | |
69 class NetworkActionPredictor; | 62 class NetworkActionPredictor; |
70 class PasswordStore; | 63 class PasswordStore; |
71 class PrefService; | 64 class PrefService; |
72 class ProfileSyncFactory; | |
73 class ProfileSyncService; | 65 class ProfileSyncService; |
74 class PromoCounter; | 66 class PromoCounter; |
75 class PromoResourceService; | |
76 class ProtocolHandlerRegistry; | 67 class ProtocolHandlerRegistry; |
77 class SQLitePersistentCookieStore; | |
78 class SSLConfigServiceManager; | |
79 class SpeechInputPreferences; | 68 class SpeechInputPreferences; |
80 class SpellCheckHost; | 69 class SpellCheckHost; |
81 class TemplateURLFetcher; | 70 class TemplateURLFetcher; |
82 class TestingProfile; | 71 class TestingProfile; |
83 class TokenService; | 72 class TokenService; |
84 class UserScriptMaster; | 73 class UserScriptMaster; |
85 class UserStyleSheetWatcher; | 74 class UserStyleSheetWatcher; |
86 class VisitedLinkEventListener; | |
87 class VisitedLinkMaster; | 75 class VisitedLinkMaster; |
88 class WebDataService; | 76 class WebDataService; |
89 class WebUI; | 77 class WebUI; |
90 | 78 |
91 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX) | 79 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX) |
92 // Local profile ids are used to associate resources stored outside the profile | 80 // Local profile ids are used to associate resources stored outside the profile |
93 // directory, like saved passwords in GNOME Keyring / KWallet, with a profile. | 81 // directory, like saved passwords in GNOME Keyring / KWallet, with a profile. |
94 // With high probability, they are unique on the local machine. They are almost | 82 // With high probability, they are unique on the local machine. They are almost |
95 // certainly not unique globally, by design. Do not send them over the network. | 83 // certainly not unique globally, by design. Do not send them over the network. |
96 typedef int LocalProfileId; | 84 typedef int LocalProfileId; |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 struct hash<Profile*> { | 564 struct hash<Profile*> { |
577 std::size_t operator()(Profile* const& p) const { | 565 std::size_t operator()(Profile* const& p) const { |
578 return reinterpret_cast<std::size_t>(p); | 566 return reinterpret_cast<std::size_t>(p); |
579 } | 567 } |
580 }; | 568 }; |
581 | 569 |
582 } // namespace __gnu_cxx | 570 } // namespace __gnu_cxx |
583 #endif | 571 #endif |
584 | 572 |
585 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 573 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |