From 8c8657d61fb8792985888c88730b2eb2f4fc4019 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 16 Jan 2009 18:31:26 +0000 Subject: Move functions required by the rest of the browser from RenderProcessHost to an interface and move the implementation to BrowserRenderProcessHost. This will allow me to write render view unit tests without using the actual renderer, but there are no tests yet. Review URL: http://codereview.chromium.org/18132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8188 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/cache_manager_host.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chrome/browser/cache_manager_host.cc') diff --git a/chrome/browser/cache_manager_host.cc b/chrome/browser/cache_manager_host.cc index cc0f2e3..c295eef 100644 --- a/chrome/browser/cache_manager_host.cc +++ b/chrome/browser/cache_manager_host.cc @@ -9,7 +9,7 @@ #include "base/sys_info.h" #include "base/time.h" #include "chrome/browser/browser_process.h" -#include "chrome/browser/render_process_host.h" +#include "chrome/browser/renderer_host/render_process_host.h" #include "chrome/common/chrome_constants.h" #include "chrome/common/pref_names.h" #include "chrome/common/pref_service.h" @@ -133,8 +133,7 @@ void CacheManagerHost::ObserveStats(int renderer_id, // See notification_types.h. NotificationService::current()-> Notify(NOTIFY_WEB_CACHE_STATS_OBSERVED, - Source( - RenderProcessHost::FromID(renderer_id)), + Source(RenderProcessHost::FromID(renderer_id)), Details(&stats_details)); } -- cgit v1.1