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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 117096)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -72,6 +72,7 @@
#include "content/browser/gpu/gpu_process_host.h"
#include "content/browser/plugin_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
+#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/resource_context.h"
#include "content/browser/site_instance.h"
#include "content/browser/ssl/ssl_cert_error_handler.h"
@@ -1088,9 +1089,8 @@
return extension ? extension->name() : std::string();
}
-ResourceDispatcherHost*
- ChromeContentBrowserClient::GetResourceDispatcherHost() {
- return g_browser_process->resource_dispatcher_host();
+void ChromeContentBrowserClient::ResourceDispatcherHostCreated() {
+ return g_browser_process->ResourceDispatcherHostCreated();
}
ui::Clipboard* ChromeContentBrowserClient::GetClipboard() {

Powered by Google App Engine
This is Rietveld 408576698