#ifndef CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_CONTEXT_MESSAGE_FILTER_H_
#define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_CONTEXT_MESSAGE_FILTER_H_
#include "content/child/child_message_filter.h"
namespace content {
class EmbeddedWorkerContextMessageFilter : public ChildMessageFilter {
public:
EmbeddedWorkerContextMessageFilter();
protected:
virtual ~EmbeddedWorkerContextMessageFilter();
virtual base::TaskRunner* OverrideTaskRunnerForMessage(
const IPC::Message& msg) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerContextMessageFilter);
};
}
#endif