Index: content/shell/browser/shell_content_browser_client.cc |
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc |
index d4394f3ef5b12bbd2557cced12490f4b99ae8f05..9c5a3f467cdb335f69ec8e62c9d1bf0e3b88b742 100644 |
--- a/content/shell/browser/shell_content_browser_client.cc |
+++ b/content/shell/browser/shell_content_browser_client.cc |
@@ -15,6 +15,7 @@ |
#include "content/public/browser/storage_partition.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/url_constants.h" |
+#include "content/shell/browser/browser_plugin/test_guest_manager_delegate.h" |
#include "content/shell/browser/shell.h" |
#include "content/shell/browser/shell_browser_context.h" |
#include "content/shell/browser/shell_browser_main_parts.h" |
@@ -144,6 +145,12 @@ BrowserMainParts* ShellContentBrowserClient::CreateBrowserMainParts( |
return shell_browser_main_parts_; |
} |
+BrowserPluginGuestManagerDelegate* |
+ShellContentBrowserClient::GetGuestManagerDelegate( |
+ BrowserContext* context) { |
+ return TestGuestManagerDelegate::GetInstance(); |
+} |
+ |
void ShellContentBrowserClient::RenderProcessWillLaunch( |
RenderProcessHost* host) { |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |