diff options
Diffstat (limited to 'chrome/browser/profiles/profile_io_data.cc')
-rw-r--r-- | chrome/browser/profiles/profile_io_data.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc index 3d155fe..3720f2d 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_) |