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

Side by Side Diff: content/child/child_thread.h

Issue 408143013: Remove unused ServiceWorkerDispatcher instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | content/child/child_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) 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_CHILD_CHILD_THREAD_H_ 5 #ifndef CONTENT_CHILD_CHILD_THREAD_H_
6 #define CONTENT_CHILD_CHILD_THREAD_H_ 6 #define CONTENT_CHILD_CHILD_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 26 matching lines...) Expand all
37 37
38 namespace webkit_glue { 38 namespace webkit_glue {
39 class ResourceLoaderBridge; 39 class ResourceLoaderBridge;
40 } // namespace webkit_glue 40 } // namespace webkit_glue
41 41
42 namespace content { 42 namespace content {
43 class ChildHistogramMessageFilter; 43 class ChildHistogramMessageFilter;
44 class ChildResourceMessageFilter; 44 class ChildResourceMessageFilter;
45 class ChildSharedBitmapManager; 45 class ChildSharedBitmapManager;
46 class FileSystemDispatcher; 46 class FileSystemDispatcher;
47 class ServiceWorkerDispatcher;
48 class ServiceWorkerMessageFilter; 47 class ServiceWorkerMessageFilter;
49 class QuotaDispatcher; 48 class QuotaDispatcher;
50 class QuotaMessageFilter; 49 class QuotaMessageFilter;
51 class ResourceDispatcher; 50 class ResourceDispatcher;
52 class SocketStreamDispatcher; 51 class SocketStreamDispatcher;
53 class ThreadSafeSender; 52 class ThreadSafeSender;
54 class WebSocketDispatcher; 53 class WebSocketDispatcher;
55 struct RequestInfo; 54 struct RequestInfo;
56 55
57 // The main thread of a child process derives from this class. 56 // The main thread of a child process derives from this class.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 99 }
101 100
102 WebSocketDispatcher* websocket_dispatcher() const { 101 WebSocketDispatcher* websocket_dispatcher() const {
103 return websocket_dispatcher_.get(); 102 return websocket_dispatcher_.get();
104 } 103 }
105 104
106 FileSystemDispatcher* file_system_dispatcher() const { 105 FileSystemDispatcher* file_system_dispatcher() const {
107 return file_system_dispatcher_.get(); 106 return file_system_dispatcher_.get();
108 } 107 }
109 108
110 ServiceWorkerDispatcher* service_worker_dispatcher() const {
111 return service_worker_dispatcher_.get();
112 }
113
114 QuotaDispatcher* quota_dispatcher() const { 109 QuotaDispatcher* quota_dispatcher() const {
115 return quota_dispatcher_.get(); 110 return quota_dispatcher_.get();
116 } 111 }
117 112
118 IPC::SyncMessageFilter* sync_message_filter() const { 113 IPC::SyncMessageFilter* sync_message_filter() const {
119 return sync_message_filter_.get(); 114 return sync_message_filter_.get();
120 } 115 }
121 116
122 // The getter should only be called on the main thread, however the 117 // The getter should only be called on the main thread, however the
123 // IPC::Sender it returns may be safely called on any thread including 118 // IPC::Sender it returns may be safely called on any thread including
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 scoped_ptr<WebSocketDispatcher> websocket_dispatcher_; 215 scoped_ptr<WebSocketDispatcher> websocket_dispatcher_;
221 216
222 // The OnChannelError() callback was invoked - the channel is dead, don't 217 // The OnChannelError() callback was invoked - the channel is dead, don't
223 // attempt to communicate. 218 // attempt to communicate.
224 bool on_channel_error_called_; 219 bool on_channel_error_called_;
225 220
226 base::MessageLoop* message_loop_; 221 base::MessageLoop* message_loop_;
227 222
228 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; 223 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_;
229 224
230 scoped_ptr<ServiceWorkerDispatcher> service_worker_dispatcher_;
231
232 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 225 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
233 226
234 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_; 227 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_;
235 228
236 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_; 229 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_;
237 230
238 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_; 231 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_;
239 232
240 scoped_refptr<QuotaMessageFilter> quota_message_filter_; 233 scoped_refptr<QuotaMessageFilter> quota_message_filter_;
241 234
242 scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; 235 scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
243 236
244 base::WeakPtrFactory<ChildThread> channel_connected_factory_; 237 base::WeakPtrFactory<ChildThread> channel_connected_factory_;
245 238
246 // Observes the trace event system. When tracing is enabled, optionally 239 // Observes the trace event system. When tracing is enabled, optionally
247 // starts profiling the tcmalloc heap. 240 // starts profiling the tcmalloc heap.
248 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; 241 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
249 242
250 scoped_ptr<base::PowerMonitor> power_monitor_; 243 scoped_ptr<base::PowerMonitor> power_monitor_;
251 244
252 bool in_browser_process_; 245 bool in_browser_process_;
253 246
254 DISALLOW_COPY_AND_ASSIGN(ChildThread); 247 DISALLOW_COPY_AND_ASSIGN(ChildThread);
255 }; 248 };
256 249
257 } // namespace content 250 } // namespace content
258 251
259 #endif // CONTENT_CHILD_CHILD_THREAD_H_ 252 #endif // CONTENT_CHILD_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698