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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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* GetMediaRequestContext() OVERRIDE; | 60 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
61 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 61 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
62 int renderer_child_id) OVERRIDE; | 62 int renderer_child_id) OVERRIDE; |
63 virtual net::URLRequestContextGetter* | |
64 GetMediaRequestContextForStoragePartition( | |
65 const std::string& partition_id) OVERRIDE; | |
63 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 66 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
64 virtual content::GeolocationPermissionContext* | 67 virtual content::GeolocationPermissionContext* |
65 GetGeolocationPermissionContext() OVERRIDE; | 68 GetGeolocationPermissionContext() OVERRIDE; |
66 virtual content::SpeechRecognitionPreferences* | 69 virtual content::SpeechRecognitionPreferences* |
67 GetSpeechRecognitionPreferences() OVERRIDE; | 70 GetSpeechRecognitionPreferences() OVERRIDE; |
68 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 71 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
69 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 72 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
70 | 73 |
71 // Profile implementation: | 74 // Profile implementation: |
72 virtual std::string GetProfileName() OVERRIDE; | 75 virtual std::string GetProfileName() OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... | |
84 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; | 87 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE; |
85 virtual ExtensionSpecialStoragePolicy* | 88 virtual ExtensionSpecialStoragePolicy* |
86 GetExtensionSpecialStoragePolicy() OVERRIDE; | 89 GetExtensionSpecialStoragePolicy() OVERRIDE; |
87 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; | 90 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; |
88 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; | 91 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; |
89 virtual policy::PolicyService* GetPolicyService() OVERRIDE; | 92 virtual policy::PolicyService* GetPolicyService() OVERRIDE; |
90 virtual PrefService* GetPrefs() OVERRIDE; | 93 virtual PrefService* GetPrefs() OVERRIDE; |
91 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 94 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |
92 virtual net::URLRequestContextGetter* | 95 virtual net::URLRequestContextGetter* |
93 GetRequestContextForExtensions() OVERRIDE; | 96 GetRequestContextForExtensions() OVERRIDE; |
94 virtual net::URLRequestContextGetter* GetRequestContextForIsolatedApp( | 97 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( |
Charlie Reis
2012/09/17 22:51:12
Why isn't this on BrowserContext like the others a
awong
2012/09/17 23:10:20
Done.
| |
95 const std::string& app_id) OVERRIDE; | 98 const std::string& partition_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 |