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

Side by Side Diff: chrome/renderer/render_thread.h

Issue 202058: WebSocket implementation in Chromium. (Closed)
Patch Set: update Created 11 years, 2 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
« no previous file with comments | « chrome/common/net/socket_stream.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_RENDERER_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_RENDER_THREAD_H_
6 #define CHROME_RENDERER_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_RENDER_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 class AppCacheDispatcher; 21 class AppCacheDispatcher;
22 class DBMessageFilter; 22 class DBMessageFilter;
23 class DevToolsAgentFilter; 23 class DevToolsAgentFilter;
24 class FilePath; 24 class FilePath;
25 class ListValue; 25 class ListValue;
26 class NullableString16; 26 class NullableString16;
27 class RenderDnsMaster; 27 class RenderDnsMaster;
28 class RendererHistogram; 28 class RendererHistogram;
29 class RendererWebKitClientImpl; 29 class RendererWebKitClientImpl;
30 class SkBitmap; 30 class SkBitmap;
31 class SocketStreamDispatcher;
31 class UserScriptSlave; 32 class UserScriptSlave;
32 class URLPattern; 33 class URLPattern;
33 34
34 struct RendererPreferences; 35 struct RendererPreferences;
35 struct WebPreferences; 36 struct WebPreferences;
36 37
37 namespace WebKit { 38 namespace WebKit {
38 class WebStorageEventDispatcher; 39 class WebStorageEventDispatcher;
39 } 40 }
40 41
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 108 }
108 109
109 UserScriptSlave* user_script_slave() const { 110 UserScriptSlave* user_script_slave() const {
110 return user_script_slave_.get(); 111 return user_script_slave_.get();
111 } 112 }
112 113
113 AppCacheDispatcher* appcache_dispatcher() const { 114 AppCacheDispatcher* appcache_dispatcher() const {
114 return appcache_dispatcher_.get(); 115 return appcache_dispatcher_.get();
115 } 116 }
116 117
118 SocketStreamDispatcher* socket_stream_dispatcher() const {
119 return socket_stream_dispatcher_.get();
120 }
121
117 bool plugin_refresh_allowed() const { return plugin_refresh_allowed_; } 122 bool plugin_refresh_allowed() const { return plugin_refresh_allowed_; }
118 123
119 // Do DNS prefetch resolution of a hostname. 124 // Do DNS prefetch resolution of a hostname.
120 void Resolve(const char* name, size_t length); 125 void Resolve(const char* name, size_t length);
121 126
122 // Send all the Histogram data to browser. 127 // Send all the Histogram data to browser.
123 void SendHistograms(int sequence_number); 128 void SendHistograms(int sequence_number);
124 129
125 // Invokes InformHostOfCacheStats after a short delay. Used to move this 130 // Invokes InformHostOfCacheStats after a short delay. Used to move this
126 // bookkeeping operation off the critical latency path. 131 // bookkeeping operation off the critical latency path.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 201 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
197 scoped_ptr<UserScriptSlave> user_script_slave_; 202 scoped_ptr<UserScriptSlave> user_script_slave_;
198 scoped_ptr<RenderDnsMaster> dns_master_; 203 scoped_ptr<RenderDnsMaster> dns_master_;
199 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 204 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
200 scoped_refptr<DevToolsAgentFilter> devtools_agent_filter_; 205 scoped_refptr<DevToolsAgentFilter> devtools_agent_filter_;
201 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; 206 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_;
202 scoped_ptr<RendererWebKitClientImpl> webkit_client_; 207 scoped_ptr<RendererWebKitClientImpl> webkit_client_;
203 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; 208 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_;
204 209
205 scoped_refptr<DBMessageFilter> db_message_filter_; 210 scoped_refptr<DBMessageFilter> db_message_filter_;
211 scoped_ptr<SocketStreamDispatcher> socket_stream_dispatcher_;
206 212
207 #if defined(OS_POSIX) 213 #if defined(OS_POSIX)
208 scoped_refptr<IPC::ChannelProxy::MessageFilter> 214 scoped_refptr<IPC::ChannelProxy::MessageFilter>
209 suicide_on_channel_error_filter_; 215 suicide_on_channel_error_filter_;
210 #endif 216 #endif
211 217
212 // If true, then a GetPlugins call is allowed to rescan the disk. 218 // If true, then a GetPlugins call is allowed to rescan the disk.
213 bool plugin_refresh_allowed_; 219 bool plugin_refresh_allowed_;
214 220
215 // Is there a pending task for doing CacheStats. 221 // Is there a pending task for doing CacheStats.
216 bool cache_stats_task_pending_; 222 bool cache_stats_task_pending_;
217 223
218 // The count of RenderWidgets running through this thread. 224 // The count of RenderWidgets running through this thread.
219 int widget_count_; 225 int widget_count_;
220 226
221 // The count of hidden RenderWidgets running through this thread. 227 // The count of hidden RenderWidgets running through this thread.
222 int hidden_widget_count_; 228 int hidden_widget_count_;
223 229
224 // The current value of the idle notification timer delay. 230 // The current value of the idle notification timer delay.
225 double idle_notification_delay_in_s_; 231 double idle_notification_delay_in_s_;
226 232
227 DISALLOW_COPY_AND_ASSIGN(RenderThread); 233 DISALLOW_COPY_AND_ASSIGN(RenderThread);
228 }; 234 };
229 235
230 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 236 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/common/net/socket_stream.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698