summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/chrome_render_process_observer.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 01:19:28 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 01:19:28 +0000
commite2a89013275843d878d657cf9b717931c3ea1350 (patch)
tree346c609cc6b3668dda3cc494ffb0c5c7726e2c55 /chrome/renderer/chrome_render_process_observer.h
parente7a30e3036462352093740b9b9ca4fd52bf585cb (diff)
downloadchromium_src-e2a89013275843d878d657cf9b717931c3ea1350.zip
chromium_src-e2a89013275843d878d657cf9b717931c3ea1350.tar.gz
chromium_src-e2a89013275843d878d657cf9b717931c3ea1350.tar.bz2
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
Diffstat (limited to 'chrome/renderer/chrome_render_process_observer.h')
-rw-r--r--chrome/renderer/chrome_render_process_observer.h9
1 files changed, 6 insertions, 3 deletions
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<ResourceDispatcherDelegate> resource_delegate_;
+ scoped_ptr<content::ResourceDispatcherDelegate> resource_delegate_;
chrome::ChromeContentRendererClient* client_;
// If true, the web cache shall be cleared before the next navigation event.
bool clear_cache_pending_;