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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 static void RegisterUserPrefs(PrefServiceSyncable* prefs); | 61 static void RegisterUserPrefs(PrefServiceSyncable* prefs); |
62 | 62 |
63 // content::BrowserContext implementation: | 63 // content::BrowserContext implementation: |
64 virtual FilePath GetPath() OVERRIDE; | 64 virtual FilePath GetPath() OVERRIDE; |
65 virtual content::DownloadManagerDelegate* | 65 virtual content::DownloadManagerDelegate* |
66 GetDownloadManagerDelegate() OVERRIDE; | 66 GetDownloadManagerDelegate() OVERRIDE; |
67 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 67 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
68 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 68 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
69 int renderer_child_id) OVERRIDE; | 69 int renderer_child_id) OVERRIDE; |
70 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( | |
71 const FilePath& partition_path, | |
72 bool in_memory) OVERRIDE; | |
73 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 70 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
74 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 71 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
75 int renderer_child_id) OVERRIDE; | 72 int renderer_child_id) OVERRIDE; |
76 virtual net::URLRequestContextGetter* | 73 virtual net::URLRequestContextGetter* |
77 GetMediaRequestContextForStoragePartition( | 74 GetMediaRequestContextForStoragePartition( |
78 const FilePath& partition_path, | 75 const FilePath& partition_path, |
79 bool in_memory) OVERRIDE; | 76 bool in_memory) OVERRIDE; |
80 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 77 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
81 virtual content::GeolocationPermissionContext* | 78 virtual content::GeolocationPermissionContext* |
82 GetGeolocationPermissionContext() OVERRIDE; | 79 GetGeolocationPermissionContext() OVERRIDE; |
(...skipping 19 matching lines...) Expand all Loading... |
102 virtual policy::PolicyService* GetPolicyService() OVERRIDE; | 99 virtual policy::PolicyService* GetPolicyService() OVERRIDE; |
103 virtual PrefServiceSyncable* GetPrefs() OVERRIDE; | 100 virtual PrefServiceSyncable* GetPrefs() OVERRIDE; |
104 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE; | 101 virtual PrefServiceSyncable* GetOffTheRecordPrefs() OVERRIDE; |
105 virtual net::URLRequestContextGetter* | 102 virtual net::URLRequestContextGetter* |
106 GetRequestContextForExtensions() OVERRIDE; | 103 GetRequestContextForExtensions() OVERRIDE; |
107 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 104 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |
108 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 105 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |
109 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 106 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |
110 virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 107 virtual bool IsSameProfile(Profile* profile) OVERRIDE; |
111 virtual base::Time GetStartTime() const OVERRIDE; | 108 virtual base::Time GetStartTime() const OVERRIDE; |
| 109 virtual net::URLRequestContextGetter* CreateRequestContext( |
| 110 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 111 blob_protocol_handler, |
| 112 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 113 file_system_protocol_handler, |
| 114 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 115 developer_protocol_handler, |
| 116 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 117 chrome_protocol_handler, |
| 118 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 119 chrome_devtools_protocol_handler) OVERRIDE; |
| 120 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 121 const FilePath& partition_path, |
| 122 bool in_memory, |
| 123 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 124 blob_protocol_handler, |
| 125 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 126 file_system_protocol_handler, |
| 127 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 128 developer_protocol_handler, |
| 129 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 130 chrome_protocol_handler, |
| 131 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
| 132 chrome_devtools_protocol_handler) OVERRIDE; |
112 virtual FilePath last_selected_directory() OVERRIDE; | 133 virtual FilePath last_selected_directory() OVERRIDE; |
113 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; | 134 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; |
114 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 135 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |
115 virtual void ClearNetworkingHistorySince( | 136 virtual void ClearNetworkingHistorySince( |
116 base::Time time, | 137 base::Time time, |
117 const base::Closure& completion) OVERRIDE; | 138 const base::Closure& completion) OVERRIDE; |
118 virtual GURL GetHomePage() OVERRIDE; | 139 virtual GURL GetHomePage() OVERRIDE; |
119 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 140 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
120 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 141 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
121 virtual ExitType GetLastSessionExitType() OVERRIDE; | 142 virtual ExitType GetLastSessionExitType() OVERRIDE; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 288 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
268 | 289 |
269 Profile::Delegate* delegate_; | 290 Profile::Delegate* delegate_; |
270 | 291 |
271 chrome_browser_net::Predictor* predictor_; | 292 chrome_browser_net::Predictor* predictor_; |
272 | 293 |
273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
274 }; | 295 }; |
275 | 296 |
276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |