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

Unified Diff: chrome/browser/profiles/off_the_record_profile_io_data.h

Issue 2978443002: Make ProfileIOData use URLRequestContextBuilder (Closed)
Patch Set: Merge Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/off_the_record_profile_io_data.h
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.h b/chrome/browser/profiles/off_the_record_profile_io_data.h
index eb287e0731f7c3b827519beae6dbbc99f5199e87..9aeabff7159d750d3c0d752108c17dc438965300 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.h
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.h
@@ -23,6 +23,7 @@ class Profile;
namespace net {
class CookieStore;
class URLRequestContext;
+class URLRequestContextBuilder;
} // namespace net
// OffTheRecordProfile owns a OffTheRecordProfileIOData::Handle, which holds a
@@ -107,11 +108,13 @@ class OffTheRecordProfileIOData : public ProfileIOData {
explicit OffTheRecordProfileIOData(Profile::ProfileType profile_type);
~OffTheRecordProfileIOData() override;
- void InitializeInternal(
- ProfileParams* profile_params,
- content::ProtocolHandlerMap* protocol_handlers,
- content::URLRequestInterceptorScopedVector request_interceptors)
- const override;
+ void InitializeInternal(net::URLRequestContextBuilder* builder,
+ ProfileParams* profile_params,
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::URLRequestInterceptorScopedVector
+ request_interceptors) const override;
+ void OnMainRequestContextCreated(
+ ProfileParams* profile_params) const override;
void InitializeExtensionsRequestContext(
ProfileParams* profile_params) const override;
net::URLRequestContext* InitializeAppRequestContext(

Powered by Google App Engine
This is Rietveld 408576698