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_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 static void RegisterUserPrefs(PrefService* prefs); | 51 static void RegisterUserPrefs(PrefService* prefs); |
52 | 52 |
53 // content::BrowserContext implementation: | 53 // content::BrowserContext implementation: |
54 virtual FilePath GetPath() OVERRIDE; | 54 virtual FilePath GetPath() OVERRIDE; |
55 virtual content::DownloadManagerDelegate* | 55 virtual content::DownloadManagerDelegate* |
56 GetDownloadManagerDelegate() OVERRIDE; | 56 GetDownloadManagerDelegate() OVERRIDE; |
57 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 57 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
58 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 58 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
59 int renderer_child_id) OVERRIDE; | 59 int renderer_child_id) OVERRIDE; |
| 60 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( |
| 61 const std::string& partition_id) OVERRIDE; |
60 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 62 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
61 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 63 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
62 int renderer_child_id) OVERRIDE; | 64 int renderer_child_id) OVERRIDE; |
| 65 virtual net::URLRequestContextGetter* |
| 66 GetMediaRequestContextForStoragePartition( |
| 67 const std::string& partition_id) OVERRIDE; |
63 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 68 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
64 virtual content::GeolocationPermissionContext* | 69 virtual content::GeolocationPermissionContext* |
65 GetGeolocationPermissionContext() OVERRIDE; | 70 GetGeolocationPermissionContext() OVERRIDE; |
66 virtual content::SpeechRecognitionPreferences* | 71 virtual content::SpeechRecognitionPreferences* |
67 GetSpeechRecognitionPreferences() OVERRIDE; | 72 GetSpeechRecognitionPreferences() OVERRIDE; |
68 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 73 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
69 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 74 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
70 | 75 |
71 // Profile implementation: | 76 // Profile implementation: |
72 virtual std::string GetProfileName() OVERRIDE; | 77 virtual std::string GetProfileName() OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
84 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; | 89 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; |
85 virtual ExtensionSpecialStoragePolicy* | 90 virtual ExtensionSpecialStoragePolicy* |
86 GetExtensionSpecialStoragePolicy() OVERRIDE; | 91 GetExtensionSpecialStoragePolicy() OVERRIDE; |
87 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | 92 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; |
88 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; | 93 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; |
89 virtual policy::PolicyService* GetPolicyService() OVERRIDE; | 94 virtual policy::PolicyService* GetPolicyService() OVERRIDE; |
90 virtual PrefService* GetPrefs() OVERRIDE; | 95 virtual PrefService* GetPrefs() OVERRIDE; |
91 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 96 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |
92 virtual net::URLRequestContextGetter* | 97 virtual net::URLRequestContextGetter* |
93 GetRequestContextForExtensions() OVERRIDE; | 98 GetRequestContextForExtensions() OVERRIDE; |
94 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | |
95 const std::string& app_id) OVERRIDE; | |
96 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 99 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
97 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 100 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
98 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 101 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
99 virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 102 virtual bool IsSameProfile(Profile* profile) OVERRIDE; |
100 virtual base::Time GetStartTime() const OVERRIDE; | 103 virtual base::Time GetStartTime() const OVERRIDE; |
101 virtual void MarkAsCleanShutdown() OVERRIDE; | 104 virtual void MarkAsCleanShutdown() OVERRIDE; |
102 virtual void InitPromoResources() OVERRIDE; | 105 virtual void InitPromoResources() OVERRIDE; |
103 virtual FilePath last_selected_directory() OVERRIDE; | 106 virtual FilePath last_selected_directory() OVERRIDE; |
104 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; | 107 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; |
105 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 108 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 254 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
252 | 255 |
253 Profile::Delegate* delegate_; | 256 Profile::Delegate* delegate_; |
254 | 257 |
255 chrome_browser_net::Predictor* predictor_; | 258 chrome_browser_net::Predictor* predictor_; |
256 | 259 |
257 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 260 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
258 }; | 261 }; |
259 | 262 |
260 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 263 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |