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

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

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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: trunk/src/chrome/browser/profiles/off_the_record_profile_io_data.h
===================================================================
--- trunk/src/chrome/browser/profiles/off_the_record_profile_io_data.h (revision 219785)
+++ trunk/src/chrome/browser/profiles/off_the_record_profile_io_data.h (working copy)
@@ -51,6 +51,8 @@
CreateMainRequestContextGetter(
content::ProtocolHandlerMap* protocol_handlers) const;
scoped_refptr<ChromeURLRequestContextGetter>
+ GetExtensionsRequestContextGetter() const;
+ scoped_refptr<ChromeURLRequestContextGetter>
GetIsolatedAppRequestContextGetter(
const base::FilePath& partition_path,
bool in_memory) const;
@@ -81,6 +83,8 @@
// the ProfileIOData on the IO thread.
mutable scoped_refptr<ChromeURLRequestContextGetter>
main_request_context_getter_;
+ mutable scoped_refptr<ChromeURLRequestContextGetter>
+ extensions_request_context_getter_;
mutable ChromeURLRequestContextGetterMap
app_request_context_getter_map_;
OffTheRecordProfileIOData* const io_data_;
@@ -104,6 +108,8 @@
virtual void InitializeInternal(
ProfileParams* profile_params,
content::ProtocolHandlerMap* protocol_handlers) const OVERRIDE;
+ virtual void InitializeExtensionsRequestContext(
+ ProfileParams* profile_params) const OVERRIDE;
virtual ChromeURLRequestContext* InitializeAppRequestContext(
ChromeURLRequestContext* main_context,
const StoragePartitionDescriptor& partition_descriptor,
@@ -135,6 +141,7 @@
mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_;
mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
+ mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_;
DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileIOData);
};

Powered by Google App Engine
This is Rietveld 408576698