Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: content/common/font_cache_dispatcher_win.h

Issue 245443005: Move IPC::MessageFilter and router to a separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gn build Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/font_cache_dispatcher_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_cache_dispatcher_win.h
diff --git a/content/common/font_cache_dispatcher_win.h b/content/common/font_cache_dispatcher_win.h
index 2ae8132da6f56553140a669e738e749154a0b901..c1f4ebf1c188b8dbf131619d61e8373396c86e64 100644
--- a/content/common/font_cache_dispatcher_win.h
+++ b/content/common/font_cache_dispatcher_win.h
@@ -9,15 +9,19 @@
#include "base/basictypes.h"
#include "base/memory/singleton.h"
-#include "ipc/ipc_channel_proxy.h"
+#include "ipc/ipc_sender.h"
+#include "ipc/message_filter.h"
+
+namespace IPC {
+class Channel;
+}
namespace content {
// Dispatches messages used for font caching on Windows. This is needed because
// Windows can't load fonts into its kernel cache in sandboxed processes. So the
// sandboxed process asks the browser process to do this for it.
-class FontCacheDispatcher : public IPC::ChannelProxy::MessageFilter,
- public IPC::Sender {
+class FontCacheDispatcher : public IPC::MessageFilter, public IPC::Sender {
public:
FontCacheDispatcher();
virtual ~FontCacheDispatcher();
@@ -26,7 +30,7 @@ class FontCacheDispatcher : public IPC::ChannelProxy::MessageFilter,
virtual bool Send(IPC::Message* message) OVERRIDE;
private:
- // IPC::ChannelProxy::MessageFilter implementation:
+ // IPC::MessageFilter implementation:
virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/font_cache_dispatcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698