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

Side by Side Diff: content/public/renderer/render_thread.h

Issue 10694014: Cleanup IPC::ChannelProxy to use SingleThreadTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "ipc/ipc_channel_proxy.h" 11 #include "ipc/ipc_channel_proxy.h"
12 #include "ipc/ipc_sender.h" 12 #include "ipc/ipc_sender.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include <windows.h> 15 #include <windows.h>
16 #endif 16 #endif
17 17
18 class MessageLoop; 18 class MessageLoop;
19 19
20 namespace base {
21 class MessageLoopProxy;
22 } // namespace base
23
20 namespace IPC { 24 namespace IPC {
21 class SyncChannel; 25 class SyncChannel;
22 class SyncMessageFilter; 26 class SyncMessageFilter;
23 } 27 } // namespace IPC
jam 2012/07/01 22:19:41 nit: no need to add this here and below. we add th
Sergey Ulanov 2012/07/02 18:44:34 Done.
24 28
25 namespace v8 { 29 namespace v8 {
26 class Extension; 30 class Extension;
27 } 31 } // namespace IPC
28 32
29 namespace content { 33 namespace content {
30 34
31 class RenderProcessObserver; 35 class RenderProcessObserver;
32 class ResourceDispatcherDelegate; 36 class ResourceDispatcherDelegate;
33 37
34 class CONTENT_EXPORT RenderThread : public IPC::Sender { 38 class CONTENT_EXPORT RenderThread : public IPC::Sender {
35 public: 39 public:
36 // Returns the one render thread for this process. Note that this can only 40 // Returns the one render thread for this process. Note that this can only
37 // be accessed when running on the render thread itself. 41 // be accessed when running on the render thread itself.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual void PreCacheFont(const LOGFONT& log_font) = 0; 110 virtual void PreCacheFont(const LOGFONT& log_font) = 0;
107 111
108 // Release cached font. 112 // Release cached font.
109 virtual void ReleaseCachedFonts() = 0; 113 virtual void ReleaseCachedFonts() = 0;
110 #endif 114 #endif
111 }; 115 };
112 116
113 } // namespace content 117 } // namespace content
114 118
115 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 119 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698