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

Side by Side Diff: chrome/browser/profiles/profile_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_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 void* profile; 237 void* profile;
238 }; 238 };
239 239
240 explicit ProfileIOData(bool is_incognito); 240 explicit ProfileIOData(bool is_incognito);
241 241
242 static std::string GetSSLSessionCacheShard(); 242 static std::string GetSSLSessionCacheShard();
243 243
244 void InitializeOnUIThread(Profile* profile); 244 void InitializeOnUIThread(Profile* profile);
245 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const; 245 void ApplyProfileParamsToContext(ChromeURLRequestContext* context) const;
246 246
247 void SetUpJobFactoryDefaults( 247 scoped_ptr<net::URLRequestJobFactory> SetUpJobFactoryDefaults(
248 net::URLRequestJobFactoryImpl* job_factory, 248 scoped_ptr<net::URLRequestJobFactoryImpl> job_factory,
249 scoped_ptr<net::URLRequestJobFactory::Interceptor> 249 scoped_ptr<net::URLRequestJobFactory::Interceptor>
250 protocol_handler_interceptor, 250 protocol_handler_interceptor,
251 net::NetworkDelegate* network_delegate, 251 net::NetworkDelegate* network_delegate,
252 net::FtpTransactionFactory* ftp_transaction_factory, 252 net::FtpTransactionFactory* ftp_transaction_factory,
253 net::FtpAuthCache* ftp_auth_cache) const; 253 net::FtpAuthCache* ftp_auth_cache) const;
254 254
255 // Lazy initializes the ProfileIOData object the first time a request context 255 // Lazy initializes the ProfileIOData object the first time a request context
256 // is requested. The lazy logic is implemented here. The actual initialization 256 // is requested. The lazy logic is implemented here. The actual initialization
257 // is done in LazyInitializeInternal(), implemented by subtypes. Static helper 257 // is done in LazyInitializeInternal(), implemented by subtypes. Static helper
258 // functions have been provided to assist in common operations. 258 // functions have been provided to assist in common operations.
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 471
472 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 472 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
473 bool initialized_on_UI_thread_; 473 bool initialized_on_UI_thread_;
474 474
475 bool is_incognito_; 475 bool is_incognito_;
476 476
477 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 477 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
478 }; 478 };
479 479
480 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 480 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698