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