| Index: content/shell/shell_content_browser_client.cc
|
| diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
|
| index ae06ea7c146b9a945e0636a16bbe9f302efbd551..82d15c2c873288e4aa1607debf350db5c1b6c556 100644
|
| --- a/content/shell/shell_content_browser_client.cc
|
| +++ b/content/shell/shell_content_browser_client.cc
|
| @@ -6,11 +6,13 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/file_path.h"
|
| +#include "content/public/browser/resource_dispatcher_host.h"
|
| #include "content/shell/shell.h"
|
| #include "content/shell/shell_browser_context.h"
|
| #include "content/shell/shell_browser_main_parts.h"
|
| #include "content/shell/shell_devtools_delegate.h"
|
| #include "content/shell/shell_render_view_host_observer.h"
|
| +#include "content/shell/shell_resource_dispatcher_host_delegate.h"
|
| #include "content/shell/shell_switches.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -270,6 +272,10 @@ std::string ShellContentBrowserClient::GetWorkerProcessTitle(
|
| }
|
|
|
| void ShellContentBrowserClient::ResourceDispatcherHostCreated() {
|
| + resource_dispatcher_host_delegate_.reset(
|
| + new ShellResourceDispatcherHostDelegate());
|
| + ResourceDispatcherHost::Get()->SetDelegate(
|
| + resource_dispatcher_host_delegate_.get());
|
| }
|
|
|
| SpeechRecognitionManagerDelegate*
|
|
|