Chromium Code Reviews| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 | 58 |
| 59 virtual ~ProfileImpl(); | 59 virtual ~ProfileImpl(); |
| 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* CreateRequestContext( | |
|
awong
2013/01/19 00:43:42
Both CreateRequestContext() and CreateRequestConte
pauljensen
2013/01/21 06:24:56
Done.
| |
| 69 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 70 blob_protocol_handler, | |
| 71 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 72 file_system_protocol_handler, | |
| 73 scoped_ptr<net::URLRequestJobFactory::Interceptor> | |
| 74 developer_protocol_handler) OVERRIDE; | |
| 68 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 75 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 69 int renderer_child_id) OVERRIDE; | 76 int renderer_child_id) OVERRIDE; |
| 70 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( | 77 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
| 71 const FilePath& partition_path, | 78 const FilePath& partition_path, |
| 72 bool in_memory) OVERRIDE; | 79 bool in_memory, |
| 80 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 81 blob_protocol_handler, | |
| 82 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> | |
| 83 file_system_protocol_handler, | |
| 84 scoped_ptr<net::URLRequestJobFactory::Interceptor> | |
| 85 developer_protocol_handler) OVERRIDE; | |
| 73 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 86 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 74 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 87 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 75 int renderer_child_id) OVERRIDE; | 88 int renderer_child_id) OVERRIDE; |
| 76 virtual net::URLRequestContextGetter* | 89 virtual net::URLRequestContextGetter* |
| 77 GetMediaRequestContextForStoragePartition( | 90 GetMediaRequestContextForStoragePartition( |
| 78 const FilePath& partition_path, | 91 const FilePath& partition_path, |
| 79 bool in_memory) OVERRIDE; | 92 bool in_memory) OVERRIDE; |
| 80 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 93 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 81 virtual content::GeolocationPermissionContext* | 94 virtual content::GeolocationPermissionContext* |
| 82 GetGeolocationPermissionContext() OVERRIDE; | 95 GetGeolocationPermissionContext() OVERRIDE; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 270 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 283 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
| 271 | 284 |
| 272 Profile::Delegate* delegate_; | 285 Profile::Delegate* delegate_; |
| 273 | 286 |
| 274 chrome_browser_net::Predictor* predictor_; | 287 chrome_browser_net::Predictor* predictor_; |
| 275 | 288 |
| 276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 289 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 277 }; | 290 }; |
| 278 | 291 |
| 279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 292 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |