From e2a89013275843d878d657cf9b717931c3ea1350 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Tue, 11 Oct 2011 01:19:28 +0000 Subject: Move ResourceDispatcherHostDelegate to content\public\common. I've added a set delegate function on ChildThread (which will soon be on content::ChildThread interface) so that we don't have to expose ResourceDispatcher to embedders. BUG=98716 Review URL: http://codereview.chromium.org/8224019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104832 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/chrome_render_process_observer.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'chrome/renderer/chrome_render_process_observer.h') diff --git a/chrome/renderer/chrome_render_process_observer.h b/chrome/renderer/chrome_render_process_observer.h index b7740e6..7c14c24 100644 --- a/chrome/renderer/chrome_render_process_observer.h +++ b/chrome/renderer/chrome_render_process_observer.h @@ -13,13 +13,16 @@ #include "base/memory/scoped_ptr.h" #include "content/public/renderer/render_process_observer.h" +class GURL; +struct ContentSettings; + namespace chrome { class ChromeContentRendererClient; } -class GURL; +namespace content { class ResourceDispatcherDelegate; -struct ContentSettings; +} // This class filters the incoming control messages (i.e. ones not destined for // a RenderView) for Chrome specific messages that the content layer doesn't @@ -62,7 +65,7 @@ class ChromeRenderProcessObserver : public content::RenderProcessObserver { void OnPurgeMemory(); static bool is_incognito_process_; - scoped_ptr resource_delegate_; + scoped_ptr resource_delegate_; chrome::ChromeContentRendererClient* client_; // If true, the web cache shall be cleared before the next navigation event. bool clear_cache_pending_; -- cgit v1.1