Chromium Code Reviews| Index: content/shell/browser/shell_browser_context.cc |
| diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc |
| index 7a99e8d7888cb12cf589bd03c3da5ceec59263de..c049097704abb6dd102e6c73421948df1c96b6a1 100644 |
| --- a/content/shell/browser/shell_browser_context.cc |
| +++ b/content/shell/browser/shell_browser_context.cc |
| @@ -129,6 +129,17 @@ DownloadManagerDelegate* ShellBrowserContext::GetDownloadManagerDelegate() { |
| return download_manager_delegate_.get(); |
| } |
| +void ShellBrowserContext::set_url_request_context_getter( |
|
Xi Han
2014/10/07 19:29:53
Change it to a regular inline setter function and
|
| + ShellURLRequestContextGetter* getter) { |
| + url_request_getter_ = getter; |
| + resource_context_->set_url_request_context_getter(url_request_getter_.get()); |
| +} |
| + |
| +ShellURLRequestContextGetter* |
| +ShellBrowserContext::get_url_request_context_getter() { |
|
Xi Han
2014/10/07 19:29:53
Change it to a regular inline getter function and
|
| + return url_request_getter_.get(); |
| +} |
| + |
| net::URLRequestContextGetter* ShellBrowserContext::GetRequestContext() { |
| return GetDefaultStoragePartition(this)->GetURLRequestContext(); |
| } |