| Index: ash/shell/content_client/shell_content_browser_client.cc
|
| diff --git a/ash/shell/content_client/shell_content_browser_client.cc b/ash/shell/content_client/shell_content_browser_client.cc
|
| index 629d4b55920bdddcd6ce9481ecbed62c6a9826fc..93fc834e0b31490f6b36e57febc0cd0858ac07f3 100644
|
| --- a/ash/shell/content_client/shell_content_browser_client.cc
|
| +++ b/ash/shell/content_client/shell_content_browser_client.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ash/shell/content_client/shell_content_browser_client.h"
|
|
|
| #include "ash/shell/content_client/shell_browser_main_parts.h"
|
| +#include "content/shell/shell_browser_context.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
|
|
| namespace ash {
|
| @@ -23,6 +24,14 @@ content::BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts(
|
| return shell_browser_main_parts_;
|
| }
|
|
|
| +net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext(
|
| + content::BrowserContext* content_browser_context,
|
| + content::ProtocolHandlerMap* protocol_handlers) {
|
| + content::ShellBrowserContext* shell_context =
|
| + static_cast<content::ShellBrowserContext*>(content_browser_context);
|
| + return shell_context->CreateRequestContext(protocol_handlers);
|
| +}
|
| +
|
| content::ShellBrowserContext* ShellContentBrowserClient::browser_context() {
|
| return shell_browser_main_parts_->browser_context();
|
| }
|
|
|