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

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

Issue 11293252: Change Interceptors into URLRequestJobFactory::ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some cleanup 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 #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"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 scoped_ptr<net::URLRequestJobFactory::Interceptor> 164 scoped_ptr<net::URLRequestJobFactory::Interceptor>
165 protocol_handler_interceptor) const OVERRIDE; 165 protocol_handler_interceptor) const OVERRIDE;
166 virtual ChromeURLRequestContext* 166 virtual ChromeURLRequestContext*
167 AcquireIsolatedMediaRequestContext( 167 AcquireIsolatedMediaRequestContext(
168 ChromeURLRequestContext* app_context, 168 ChromeURLRequestContext* app_context,
169 const StoragePartitionDescriptor& partition_descriptor) 169 const StoragePartitionDescriptor& partition_descriptor)
170 const OVERRIDE; 170 const OVERRIDE;
171 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats( 171 virtual chrome_browser_net::LoadTimeStats* GetLoadTimeStats(
172 IOThread::Globals* io_thread_globals) const OVERRIDE; 172 IOThread::Globals* io_thread_globals) const OVERRIDE;
173 173
174 void SetUpJobFactory(net::URLRequestJobFactoryImpl* job_factory, 174 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactory(
175 scoped_ptr<net::URLRequestJobFactory::Interceptor> 175 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory,
176 protocol_handler_interceptor, 176 scoped_ptr<net::URLRequestJobFactory::Interceptor>
177 net::NetworkDelegate* network_delegate, 177 protocol_handler_interceptor,
178 net::FtpTransactionFactory* ftp_transaction_factory, 178 net::NetworkDelegate* network_delegate,
179 net::FtpAuthCache* ftp_auth_cache) const; 179 net::FtpTransactionFactory* ftp_transaction_factory,
180 net::FtpAuthCache* ftp_auth_cache) const;
180 181
181 // Deletes all network related data since |time|. It deletes transport 182 // Deletes all network related data since |time|. It deletes transport
182 // security state since |time| and also deletes HttpServerProperties data. 183 // security state since |time| and also deletes HttpServerProperties data.
183 // Works asynchronously, however if the |completion| callback is non-null, 184 // Works asynchronously, however if the |completion| callback is non-null,
184 // it will be posted on the UI thread once the removal process completes. 185 // it will be posted on the UI thread once the removal process completes.
185 void ClearNetworkingHistorySinceOnIOThread(base::Time time, 186 void ClearNetworkingHistorySinceOnIOThread(base::Time time,
186 const base::Closure& completion); 187 const base::Closure& completion);
187 188
188 // Lazy initialization params. 189 // Lazy initialization params.
189 mutable scoped_ptr<LazyParams> lazy_params_; 190 mutable scoped_ptr<LazyParams> lazy_params_;
(...skipping 10 matching lines...) Expand all
200 201
201 // Parameters needed for isolated apps. 202 // Parameters needed for isolated apps.
202 FilePath profile_path_; 203 FilePath profile_path_;
203 int app_cache_max_size_; 204 int app_cache_max_size_;
204 int app_media_cache_max_size_; 205 int app_media_cache_max_size_;
205 206
206 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 207 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
207 }; 208 };
208 209
209 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 210 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698