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 #pragma once | 9 #pragma once |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/hash_tables.h" | 14 #include "base/hash_tables.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "chrome/browser/net/pref_proxy_config_tracker.h" | 16 #include "chrome/browser/net/pref_proxy_config_tracker.h" |
17 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" | 17 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" |
18 #include "content/public/browser/browser_context.h" | 18 #include "content/public/browser/browser_context.h" |
19 | 19 |
20 class AutocompleteClassifier; | 20 class AutocompleteClassifier; |
21 class BookmarkModel; | 21 class BookmarkModel; |
22 class ChromeAppCacheService; | 22 class ChromeAppCacheService; |
23 class ChromeURLDataManager; | 23 class ChromeURLDataManager; |
24 class Extension; | |
25 class ExtensionEventRouter; | 24 class ExtensionEventRouter; |
26 class ExtensionProcessManager; | 25 class ExtensionProcessManager; |
27 class ExtensionService; | 26 class ExtensionService; |
28 class ExtensionSpecialStoragePolicy; | 27 class ExtensionSpecialStoragePolicy; |
29 class FaviconService; | 28 class FaviconService; |
30 class GAIAInfoUpdateService; | 29 class GAIAInfoUpdateService; |
31 class HistoryService; | 30 class HistoryService; |
32 class HostContentSettingsMap; | 31 class HostContentSettingsMap; |
33 class PasswordStore; | 32 class PasswordStore; |
34 class PrefService; | 33 class PrefService; |
35 class PromoCounter; | 34 class PromoCounter; |
36 class ProtocolHandlerRegistry; | 35 class ProtocolHandlerRegistry; |
37 class TestingProfile; | 36 class TestingProfile; |
38 class UserScriptMaster; | 37 class UserScriptMaster; |
39 class VisitedLinkMaster; | 38 class VisitedLinkMaster; |
40 class WebDataService; | 39 class WebDataService; |
41 | 40 |
| 41 namespace android { |
| 42 class TabContentsProvider; |
| 43 } |
| 44 |
42 namespace base { | 45 namespace base { |
43 class Time; | 46 class Time; |
44 } | 47 } |
45 | 48 |
| 49 namespace chrome_browser_net { |
| 50 class Predictor; |
| 51 } |
| 52 |
46 namespace chromeos { | 53 namespace chromeos { |
47 class LibCrosServiceLibraryImpl; | 54 class LibCrosServiceLibraryImpl; |
48 class ResetDefaultProxyConfigServiceTask; | 55 class ResetDefaultProxyConfigServiceTask; |
49 } | 56 } |
50 | 57 |
51 namespace chrome_browser_net { | |
52 class Predictor; | |
53 } | |
54 | 58 |
55 namespace content { | 59 namespace content { |
56 class SpeechRecognitionPreferences; | 60 class SpeechRecognitionPreferences; |
57 class WebUI; | 61 class WebUI; |
58 } | 62 } |
59 | 63 |
60 namespace android { | |
61 class TabContentsProvider; | |
62 } | |
63 | |
64 namespace fileapi { | 64 namespace fileapi { |
65 class FileSystemContext; | 65 class FileSystemContext; |
66 } | 66 } |
67 | 67 |
68 namespace history { | 68 namespace history { |
69 class TopSites; | 69 class TopSites; |
70 class ShortcutsBackend; | 70 class ShortcutsBackend; |
71 } | 71 } |
72 | 72 |
73 namespace net { | 73 namespace net { |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 struct hash<Profile*> { | 446 struct hash<Profile*> { |
447 std::size_t operator()(Profile* const& p) const { | 447 std::size_t operator()(Profile* const& p) const { |
448 return reinterpret_cast<std::size_t>(p); | 448 return reinterpret_cast<std::size_t>(p); |
449 } | 449 } |
450 }; | 450 }; |
451 | 451 |
452 } // namespace BASE_HASH_NAMESPACE | 452 } // namespace BASE_HASH_NAMESPACE |
453 #endif | 453 #endif |
454 | 454 |
455 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 455 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |