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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove OVERRIDE from dtor Created 9 years 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
« no previous file with comments | « content/renderer/indexed_db_message_filter.cc ('k') | content/renderer/render_thread_impl.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Will be NULL if threaded compositing has not been enabled. 128 // Will be NULL if threaded compositing has not been enabled.
129 CompositorThread* compositor_thread() const { 129 CompositorThread* compositor_thread() const {
130 return compositor_thread_.get(); 130 return compositor_thread_.get();
131 } 131 }
132 132
133 AppCacheDispatcher* appcache_dispatcher() const { 133 AppCacheDispatcher* appcache_dispatcher() const {
134 return appcache_dispatcher_.get(); 134 return appcache_dispatcher_.get();
135 } 135 }
136 136
137 IndexedDBDispatcher* indexed_db_dispatcher() const {
138 return indexed_db_dispatcher_.get();
139 }
140
141 AudioInputMessageFilter* audio_input_message_filter() { 137 AudioInputMessageFilter* audio_input_message_filter() {
142 return audio_input_message_filter_.get(); 138 return audio_input_message_filter_.get();
143 } 139 }
144 140
145 AudioMessageFilter* audio_message_filter() { 141 AudioMessageFilter* audio_message_filter() {
146 return audio_message_filter_.get(); 142 return audio_message_filter_.get();
147 } 143 }
148 144
149 VideoCaptureImplManager* video_capture_impl_manager() const { 145 VideoCaptureImplManager* video_capture_impl_manager() const {
150 return vc_manager_.get(); 146 return vc_manager_.get();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 void OnPurgePluginListCache(bool reload_pages); 182 void OnPurgePluginListCache(bool reload_pages);
187 void OnNetworkStateChanged(bool online); 183 void OnNetworkStateChanged(bool online);
188 void OnGetAccessibilityTree(); 184 void OnGetAccessibilityTree();
189 void OnTempCrashWithData(const GURL& data); 185 void OnTempCrashWithData(const GURL& data);
190 186
191 void IdleHandlerInForegroundTab(); 187 void IdleHandlerInForegroundTab();
192 188
193 // These objects live solely on the render thread. 189 // These objects live solely on the render thread.
194 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; 190 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_;
195 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 191 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
196 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_; 192 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
197 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; 193 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_;
198 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; 194 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_;
199 195
200 // Used on the renderer and IPC threads. 196 // Used on the renderer and IPC threads.
201 scoped_refptr<DBMessageFilter> db_message_filter_; 197 scoped_refptr<DBMessageFilter> db_message_filter_;
202 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 198 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
203 scoped_refptr<AudioMessageFilter> audio_message_filter_; 199 scoped_refptr<AudioMessageFilter> audio_message_filter_;
204 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; 200 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_;
205 201
206 // Used on multiple threads. 202 // Used on multiple threads.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 240
245 bool compositor_initialized_; 241 bool compositor_initialized_;
246 scoped_ptr<CompositorThread> compositor_thread_; 242 scoped_ptr<CompositorThread> compositor_thread_;
247 243
248 ObserverList<content::RenderProcessObserver> observers_; 244 ObserverList<content::RenderProcessObserver> observers_;
249 245
250 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 246 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
251 }; 247 };
252 248
253 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 249 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/indexed_db_message_filter.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698