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( |
| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 285 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
273 | 286 |
274 Profile::Delegate* delegate_; | 287 Profile::Delegate* delegate_; |
275 | 288 |
276 chrome_browser_net::Predictor* predictor_; | 289 chrome_browser_net::Predictor* predictor_; |
277 | 290 |
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
279 }; | 292 }; |
280 | 293 |
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |