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

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: 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
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Will be NULL if threaded compositing has not been enabled. 129 // Will be NULL if threaded compositing has not been enabled.
130 CompositorThread* compositor_thread() const { 130 CompositorThread* compositor_thread() const {
131 return compositor_thread_.get(); 131 return compositor_thread_.get();
132 } 132 }
133 133
134 AppCacheDispatcher* appcache_dispatcher() const { 134 AppCacheDispatcher* appcache_dispatcher() const {
135 return appcache_dispatcher_.get(); 135 return appcache_dispatcher_.get();
136 } 136 }
137 137
138 IndexedDBDispatcher* indexed_db_dispatcher() const {
139 return indexed_db_dispatcher_.get();
140 }
141
142 AudioInputMessageFilter* audio_input_message_filter() { 138 AudioInputMessageFilter* audio_input_message_filter() {
143 return audio_input_message_filter_.get(); 139 return audio_input_message_filter_.get();
144 } 140 }
145 141
146 AudioMessageFilter* audio_message_filter() { 142 AudioMessageFilter* audio_message_filter() {
147 return audio_message_filter_.get(); 143 return audio_message_filter_.get();
148 } 144 }
149 145
150 VideoCaptureImplManager* video_capture_impl_manager() const { 146 VideoCaptureImplManager* video_capture_impl_manager() const {
151 return vc_manager_.get(); 147 return vc_manager_.get();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void OnPurgePluginListCache(bool reload_pages); 183 void OnPurgePluginListCache(bool reload_pages);
188 void OnNetworkStateChanged(bool online); 184 void OnNetworkStateChanged(bool online);
189 void OnGetAccessibilityTree(); 185 void OnGetAccessibilityTree();
190 void OnTempCrashWithData(const GURL& data); 186 void OnTempCrashWithData(const GURL& data);
191 187
192 void IdleHandlerInForegroundTab(); 188 void IdleHandlerInForegroundTab();
193 189
194 // These objects live solely on the render thread. 190 // These objects live solely on the render thread.
195 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_; 191 scoped_ptr<ScopedRunnableMethodFactory<RenderThreadImpl> > task_factory_;
196 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 192 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
197 scoped_ptr<IndexedDBDispatcher> indexed_db_dispatcher_;
198 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_; 193 scoped_ptr<RendererWebKitPlatformSupportImpl> webkit_platform_support_;
199 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_; 194 scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_;
200 195
201 // Used on the renderer and IPC threads. 196 // Used on the renderer and IPC threads.
202 scoped_refptr<DBMessageFilter> db_message_filter_; 197 scoped_refptr<DBMessageFilter> db_message_filter_;
203 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 198 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
204 scoped_refptr<AudioMessageFilter> audio_message_filter_; 199 scoped_refptr<AudioMessageFilter> audio_message_filter_;
205 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_; 200 scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_;
206 201
207 // Used on multiple threads. 202 // Used on multiple threads.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 std::set<std::string> v8_extensions_; 241 std::set<std::string> v8_extensions_;
247 242
248 scoped_ptr<CompositorThread> compositor_thread_; 243 scoped_ptr<CompositorThread> compositor_thread_;
249 244
250 ObserverList<content::RenderProcessObserver> observers_; 245 ObserverList<content::RenderProcessObserver> observers_;
251 246
252 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 247 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
253 }; 248 };
254 249
255 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 250 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698