Chromium Code Reviews| 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 b784c4079253e13f617a98ff6a20fbd9e6d00b75..5860725c4045bbdf04b43311e2466faa1026bf70 100644 |
| --- a/chrome/browser/profiles/profile_io_data.cc |
| +++ b/chrome/browser/profiles/profile_io_data.cc |
| @@ -229,6 +229,18 @@ ProfileIOData::GetExtensionsRequestContext() const { |
| return context; |
| } |
| +scoped_refptr<ChromeURLRequestContext> |
| +ProfileIOData::GetIsolatedAppRequestContext( |
| + scoped_refptr<ChromeURLRequestContext> main_context, |
| + std::string app_id) const { |
| + //const Extension* installed_app) const { |
|
Matt Perry
2011/03/15 00:40:56
remove dead code
Charlie Reis
2011/03/15 06:23:42
Nice catch-- sorry about that.
|
| + LazyInitialize(); |
| + scoped_refptr<ChromeURLRequestContext> context = |
| + AcquireIsolatedAppRequestContext(main_context, app_id /*installed_app*/); |
| + DCHECK(context); |
| + return context; |
| +} |
| + |
| void ProfileIOData::LazyInitialize() const { |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| if (initialized_) |