From 38b592904f582daacd833b767b3cce3d1c211068 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Sat, 16 Apr 2011 02:08:42 +0000 Subject: Clear RenderThread of any Chrome specific code, and move a bunch of stuff out of RenderView. Took out CookieMessageFilter since it's not used anymore. Removed RenderProcessTest and RendererMainTest since they really weren't testing much. Review URL: http://codereview.chromium.org/6873014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81851 0039d316-1c4b-4281-b951-d872f2087c98 --- content/renderer/render_process_observer.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'content/renderer/render_process_observer.cc') diff --git a/content/renderer/render_process_observer.cc b/content/renderer/render_process_observer.cc index 5796271..193c6c6 100644 --- a/content/renderer/render_process_observer.cc +++ b/content/renderer/render_process_observer.cc @@ -4,12 +4,18 @@ #include "content/renderer/render_process_observer.h" +#include "content/renderer/render_thread.h" + RenderProcessObserver::RenderProcessObserver() { } RenderProcessObserver::~RenderProcessObserver() { } +bool RenderProcessObserver::Send(IPC::Message* message) { + return RenderThread::current()->Send(message); +} + bool RenderProcessObserver::OnControlMessageReceived( const IPC::Message& message) { return false; -- cgit v1.1