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

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

Issue 11669012: Convert ProtocolHandlerRegistry::Interceptor to a net::URLRequestJobFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address jhawkins' comments Created 7 years, 11 months 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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
12 #include "chrome/browser/profiles/profile_io_data.h" 13 #include "chrome/browser/profiles/profile_io_data.h"
13 14
14 namespace chrome_browser_net { 15 namespace chrome_browser_net {
15 class HttpServerPropertiesManager; 16 class HttpServerPropertiesManager;
16 class Predictor; 17 class Predictor;
17 } // namespace chrome_browser_net 18 } // namespace chrome_browser_net
18 19
19 namespace net { 20 namespace net {
20 class HttpServerProperties; 21 class HttpServerProperties;
21 class HttpTransactionFactory; 22 class HttpTransactionFactory;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ProfileImplIOData(); 145 ProfileImplIOData();
145 virtual ~ProfileImplIOData(); 146 virtual ~ProfileImplIOData();
146 147
147 virtual void LazyInitializeInternal( 148 virtual void LazyInitializeInternal(
148 ProfileParams* profile_params) const OVERRIDE; 149 ProfileParams* profile_params) const OVERRIDE;
149 virtual void InitializeExtensionsRequestContext( 150 virtual void InitializeExtensionsRequestContext(
150 ProfileParams* profile_params) const OVERRIDE; 151 ProfileParams* profile_params) const OVERRIDE;
151 virtual ChromeURLRequestContext* InitializeAppRequestContext( 152 virtual ChromeURLRequestContext* InitializeAppRequestContext(
152 ChromeURLRequestContext* main_context, 153 ChromeURLRequestContext* main_context,
153 const StoragePartitionDescriptor& partition_descriptor, 154 const StoragePartitionDescriptor& partition_descriptor,
154 scoped_ptr<net::URLRequestJobFactory::Interceptor> 155 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
155 protocol_handler_interceptor) const OVERRIDE; 156 protocol_handler_interceptor) const OVERRIDE;
156 virtual ChromeURLRequestContext* InitializeMediaRequestContext( 157 virtual ChromeURLRequestContext* InitializeMediaRequestContext(
157 ChromeURLRequestContext* original_context, 158 ChromeURLRequestContext* original_context,
158 const StoragePartitionDescriptor& partition_descriptor) const OVERRIDE; 159 const StoragePartitionDescriptor& partition_descriptor) const OVERRIDE;
159 virtual ChromeURLRequestContext* 160 virtual ChromeURLRequestContext*
160 AcquireMediaRequestContext() const OVERRIDE; 161 AcquireMediaRequestContext() const OVERRIDE;
161 virtual ChromeURLRequestContext* 162 virtual ChromeURLRequestContext*
162 AcquireIsolatedAppRequestContext( 163 AcquireIsolatedAppRequestContext(
163 ChromeURLRequestContext* main_context, 164 ChromeURLRequestContext* main_context,
164 const StoragePartitionDescriptor& partition_descriptor, 165 const StoragePartitionDescriptor& partition_descriptor,
165 scoped_ptr<net::URLRequestJobFactory::Interceptor> 166 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
166 protocol_handler_interceptor) const OVERRIDE; 167 protocol_handler_interceptor) const OVERRIDE;
167 virtual ChromeURLRequestContext* 168 virtual ChromeURLRequestContext*
168 AcquireIsolatedMediaRequestContext( 169 AcquireIsolatedMediaRequestContext(
169 ChromeURLRequestContext* app_context, 170 ChromeURLRequestContext* app_context,
170 const StoragePartitionDescriptor& partition_descriptor) 171 const StoragePartitionDescriptor& partition_descriptor)
171 const OVERRIDE; 172 const OVERRIDE;
172 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats( 173 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats(
173 IOThread::Globals* io_thread_globals) const OVERRIDE; 174 IOThread::Globals* io_thread_globals) const OVERRIDE;
174 175
175 // Deletes all network related data since |time|. It deletes transport 176 // Deletes all network related data since |time|. It deletes transport
(...skipping 23 matching lines...) Expand all
199 200
200 // Parameters needed for isolated apps. 201 // Parameters needed for isolated apps.
201 FilePath profile_path_; 202 FilePath profile_path_;
202 int app_cache_max_size_; 203 int app_cache_max_size_;
203 int app_media_cache_max_size_; 204 int app_media_cache_max_size_;
204 205
205 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 206 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
206 }; 207 };
207 208
208 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 209 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698