Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index de4b20563fef5216d7259e65463c93292c9de07e..6e94711a83123f895fafd37db750bca7961443df 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -227,6 +227,17 @@ ProfileIOData::GetExtensionsRequestContext() const { |
return context; |
} |
+scoped_refptr<ChromeURLRequestContext> |
+ProfileIOData::GetIsolatedAppRequestContext( |
+ scoped_refptr<ChromeURLRequestContext> main_context, |
+ const Extension* installed_app) const { |
+ LazyInitialize(); |
+ scoped_refptr<ChromeURLRequestContext> context = |
+ AcquireIsolatedAppRequestContext(main_context, installed_app); |
+ DCHECK(context); |
+ return context; |
+} |
+ |
void ProfileIOData::LazyInitialize() const { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
if (initialized_) |