Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1360)

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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))

Powered by Google App Engine
This is Rietveld 408576698