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 3d155fee9d6ae34a699f5e30655ebc661a1484e5..3720f2d4d131f9ab589078549b06f26f989a5634 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -229,6 +229,17 @@ ProfileIOData::GetExtensionsRequestContext() const { |
return context; |
} |
+scoped_refptr<ChromeURLRequestContext> |
+ProfileIOData::GetIsolatedAppRequestContext( |
+ scoped_refptr<ChromeURLRequestContext> main_context, |
+ const std::string& app_id) const { |
+ LazyInitialize(); |
+ scoped_refptr<ChromeURLRequestContext> context = |
+ AcquireIsolatedAppRequestContext(main_context, app_id); |
+ DCHECK(context); |
+ return context; |
+} |
+ |
void ProfileIOData::LazyInitialize() const { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
if (initialized_) |