Index: chrome/browser/net/chrome_url_request_context.cc |
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc |
index f33504061ab4a40f760a9cd8ea47f6ab9a3c3f3a..460353a94ded2f1fc180cb7719b8cd6dd236eb16 100644 |
--- a/chrome/browser/net/chrome_url_request_context.cc |
+++ b/chrome/browser/net/chrome_url_request_context.cc |
@@ -57,20 +57,6 @@ class FactoryForMain : public ChromeURLRequestContextFactory { |
content::ProtocolHandlerMap protocol_handlers_; |
}; |
-// Factory that creates the ChromeURLRequestContext for extensions. |
-class FactoryForExtensions : public ChromeURLRequestContextFactory { |
- public: |
- explicit FactoryForExtensions(const ProfileIOData* profile_io_data) |
- : profile_io_data_(profile_io_data) {} |
- |
- virtual ChromeURLRequestContext* Create() OVERRIDE { |
- return profile_io_data_->GetExtensionsRequestContext(); |
- } |
- |
- private: |
- const ProfileIOData* const profile_io_data_; |
-}; |
- |
// Factory that creates the ChromeURLRequestContext for a given isolated app. |
class FactoryForIsolatedApp : public ChromeURLRequestContextFactory { |
public: |
@@ -213,15 +199,6 @@ ChromeURLRequestContextGetter::CreateOriginalForMedia( |
// static |
ChromeURLRequestContextGetter* |
-ChromeURLRequestContextGetter::CreateOriginalForExtensions( |
- Profile* profile, const ProfileIOData* profile_io_data) { |
- DCHECK(!profile->IsOffTheRecord()); |
- return new ChromeURLRequestContextGetter( |
- new FactoryForExtensions(profile_io_data)); |
-} |
- |
-// static |
-ChromeURLRequestContextGetter* |
ChromeURLRequestContextGetter::CreateOriginalForIsolatedApp( |
Profile* profile, |
const ProfileIOData* profile_io_data, |
@@ -265,15 +242,6 @@ ChromeURLRequestContextGetter::CreateOffTheRecord( |
// static |
ChromeURLRequestContextGetter* |
-ChromeURLRequestContextGetter::CreateOffTheRecordForExtensions( |
- Profile* profile, const ProfileIOData* profile_io_data) { |
- DCHECK(profile->IsOffTheRecord()); |
- return new ChromeURLRequestContextGetter( |
- new FactoryForExtensions(profile_io_data)); |
-} |
- |
-// static |
-ChromeURLRequestContextGetter* |
ChromeURLRequestContextGetter::CreateOffTheRecordForIsolatedApp( |
Profile* profile, |
const ProfileIOData* profile_io_data, |