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> |
11 | 11 |
12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "components/domain_reliability/clear_mode.h" | 16 #include "components/domain_reliability/clear_mode.h" |
17 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
18 #include "content/public/browser/content_browser_client.h" | 18 #include "content/public/browser/content_browser_client.h" |
19 | 19 |
20 class ChromeAppCacheService; | |
21 class ChromeZoomLevelPrefs; | 20 class ChromeZoomLevelPrefs; |
22 class DevToolsNetworkControllerHandle; | 21 class DevToolsNetworkControllerHandle; |
23 class ExtensionSpecialStoragePolicy; | 22 class ExtensionSpecialStoragePolicy; |
24 class HostContentSettingsMap; | |
25 class PrefProxyConfigTracker; | 23 class PrefProxyConfigTracker; |
26 class PrefService; | 24 class PrefService; |
27 class PromoCounter; | |
28 class ProtocolHandlerRegistry; | |
29 class TestingProfile; | 25 class TestingProfile; |
30 | 26 |
31 namespace android { | |
32 class TabContentsProvider; | |
33 } | |
34 | |
35 namespace base { | 27 namespace base { |
36 class SequencedTaskRunner; | 28 class SequencedTaskRunner; |
37 class Time; | 29 class Time; |
38 } | 30 } |
39 | 31 |
40 namespace chrome_browser_net { | 32 namespace chrome_browser_net { |
41 class Predictor; | 33 class Predictor; |
42 } | 34 } |
43 | 35 |
44 namespace chromeos { | |
45 class LibCrosServiceLibraryImpl; | |
46 class ResetDefaultProxyConfigServiceTask; | |
47 } | |
48 | |
49 namespace content { | 36 namespace content { |
50 class WebUI; | 37 class WebUI; |
51 } | 38 } |
52 | 39 |
53 namespace storage { | |
54 class FileSystemContext; | |
55 } | |
56 | |
57 namespace net { | 40 namespace net { |
58 class SSLConfigService; | 41 class SSLConfigService; |
59 } | 42 } |
60 | 43 |
61 namespace user_prefs { | 44 namespace user_prefs { |
62 class PrefRegistrySyncable; | 45 class PrefRegistrySyncable; |
63 } | 46 } |
64 | 47 |
65 // Instead of adding more members to Profile, consider creating a | 48 // Instead of adding more members to Profile, consider creating a |
66 // KeyedService. See | 49 // KeyedService. See |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 358 |
376 DISALLOW_COPY_AND_ASSIGN(Profile); | 359 DISALLOW_COPY_AND_ASSIGN(Profile); |
377 }; | 360 }; |
378 | 361 |
379 // The comparator for profile pointers as key in a map. | 362 // The comparator for profile pointers as key in a map. |
380 struct ProfileCompare { | 363 struct ProfileCompare { |
381 bool operator()(Profile* a, Profile* b) const; | 364 bool operator()(Profile* a, Profile* b) const; |
382 }; | 365 }; |
383 | 366 |
384 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 367 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |