| 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 588e0027d84a0f84be88862814db313b90811d35..cdaa0e02d5667da9ef65f31694b790e8511d6e18 100644
|
| --- a/content/shell/shell_content_browser_client.cc
|
| +++ b/content/shell/shell_content_browser_client.cc
|
| @@ -6,10 +6,12 @@
|
|
|
| #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_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"
|
| @@ -269,6 +271,10 @@ std::string ShellContentBrowserClient::GetWorkerProcessTitle(
|
| }
|
|
|
| void ShellContentBrowserClient::ResourceDispatcherHostCreated() {
|
| + resource_dispatcher_host_delegate_.reset(
|
| + new ShellResourceDispatcherHostDelegate());
|
| + ResourceDispatcherHost::Get()->SetDelegate(
|
| + resource_dispatcher_host_delegate_.get());
|
| }
|
|
|
| SpeechRecognitionManagerDelegate*
|
|
|