Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 11308362: Add StoragePartition's ProtocolHandlers at URLRequestContext construction time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move ShellResourceContext into .cc file Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 virtual ~ProfileImpl(); 60 virtual ~ProfileImpl();
61 61
62 static void RegisterUserPrefs(PrefService* prefs); 62 static void RegisterUserPrefs(PrefService* 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* CreateRequestContext(
70 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
71 blob_protocol_handler,
72 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
73 file_system_protocol_handler,
74 scoped_ptr<net::URLRequestJobFactory::Interceptor>
75 developer_protocol_handler) OVERRIDE;
69 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 76 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
70 int renderer_child_id) OVERRIDE; 77 int renderer_child_id) OVERRIDE;
71 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 78 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
72 const FilePath& partition_path, 79 const FilePath& partition_path,
73 bool in_memory) OVERRIDE; 80 bool in_memory,
81 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
82 blob_protocol_handler,
83 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
84 file_system_protocol_handler,
85 scoped_ptr<net::URLRequestJobFactory::Interceptor>
86 developer_protocol_handler) OVERRIDE;
74 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 87 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
75 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 88 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
76 int renderer_child_id) OVERRIDE; 89 int renderer_child_id) OVERRIDE;
77 virtual net::URLRequestContextGetter* 90 virtual net::URLRequestContextGetter*
78 GetMediaRequestContextForStoragePartition( 91 GetMediaRequestContextForStoragePartition(
79 const FilePath& partition_path, 92 const FilePath& partition_path,
80 bool in_memory) OVERRIDE; 93 bool in_memory) OVERRIDE;
81 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 94 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
82 virtual content::GeolocationPermissionContext* 95 virtual content::GeolocationPermissionContext*
83 GetGeolocationPermissionContext() OVERRIDE; 96 GetGeolocationPermissionContext() OVERRIDE;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 289 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
277 290
278 Profile::Delegate* delegate_; 291 Profile::Delegate* delegate_;
279 292
280 chrome_browser_net::Predictor* predictor_; 293 chrome_browser_net::Predictor* predictor_;
281 294
282 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 295 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
283 }; 296 };
284 297
285 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 298 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698