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

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

Issue 644643005: Implement a RenderFrame-less path for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove now unused ipc messages Created 6 years, 1 month 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
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 24 matching lines...) Expand all
35 class WebFrame; 35 class WebFrame;
36 } // namespace blink 36 } // namespace blink
37 37
38 namespace content { 38 namespace content {
39 class ChildGpuMemoryBufferManager; 39 class ChildGpuMemoryBufferManager;
40 class ChildHistogramMessageFilter; 40 class ChildHistogramMessageFilter;
41 class ChildResourceMessageFilter; 41 class ChildResourceMessageFilter;
42 class ChildSharedBitmapManager; 42 class ChildSharedBitmapManager;
43 class FileSystemDispatcher; 43 class FileSystemDispatcher;
44 class GeofencingMessageFilter; 44 class GeofencingMessageFilter;
45 class NotificationDispatcher;
45 class ServiceWorkerMessageFilter; 46 class ServiceWorkerMessageFilter;
46 class QuotaDispatcher; 47 class QuotaDispatcher;
47 class QuotaMessageFilter; 48 class QuotaMessageFilter;
48 class ResourceDispatcher; 49 class ResourceDispatcher;
49 class SocketStreamDispatcher; 50 class SocketStreamDispatcher;
50 class ThreadSafeSender; 51 class ThreadSafeSender;
51 class WebSocketDispatcher; 52 class WebSocketDispatcher;
52 struct RequestInfo; 53 struct RequestInfo;
53 54
54 // The main thread of a child process derives from this class. 55 // The main thread of a child process derives from this class.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 116 }
116 117
117 FileSystemDispatcher* file_system_dispatcher() const { 118 FileSystemDispatcher* file_system_dispatcher() const {
118 return file_system_dispatcher_.get(); 119 return file_system_dispatcher_.get();
119 } 120 }
120 121
121 QuotaDispatcher* quota_dispatcher() const { 122 QuotaDispatcher* quota_dispatcher() const {
122 return quota_dispatcher_.get(); 123 return quota_dispatcher_.get();
123 } 124 }
124 125
126 NotificationDispatcher* notification_dispatcher() const {
127 return notification_dispatcher_.get();
128 }
129
125 IPC::SyncMessageFilter* sync_message_filter() const { 130 IPC::SyncMessageFilter* sync_message_filter() const {
126 return sync_message_filter_.get(); 131 return sync_message_filter_.get();
127 } 132 }
128 133
129 // The getter should only be called on the main thread, however the 134 // The getter should only be called on the main thread, however the
130 // IPC::Sender it returns may be safely called on any thread including 135 // IPC::Sender it returns may be safely called on any thread including
131 // the main thread. 136 // the main thread.
132 ThreadSafeSender* thread_safe_sender() const { 137 ThreadSafeSender* thread_safe_sender() const {
133 return thread_safe_sender_.get(); 138 return thread_safe_sender_.get();
134 } 139 }
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 243 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
239 244
240 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_; 245 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_;
241 246
242 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_; 247 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_;
243 248
244 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_; 249 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_;
245 250
246 scoped_refptr<QuotaMessageFilter> quota_message_filter_; 251 scoped_refptr<QuotaMessageFilter> quota_message_filter_;
247 252
253 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
254
248 scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; 255 scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
249 256
250 scoped_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_; 257 scoped_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_;
251 258
252 // Observes the trace event system. When tracing is enabled, optionally 259 // Observes the trace event system. When tracing is enabled, optionally
253 // starts profiling the tcmalloc heap. 260 // starts profiling the tcmalloc heap.
254 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; 261 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
255 262
256 scoped_ptr<base::PowerMonitor> power_monitor_; 263 scoped_ptr<base::PowerMonitor> power_monitor_;
257 264
258 scoped_refptr<GeofencingMessageFilter> geofencing_message_filter_; 265 scoped_refptr<GeofencingMessageFilter> geofencing_message_filter_;
259 266
260 bool in_browser_process_; 267 bool in_browser_process_;
261 268
262 base::WeakPtrFactory<ChildThread> channel_connected_factory_; 269 base::WeakPtrFactory<ChildThread> channel_connected_factory_;
263 270
264 DISALLOW_COPY_AND_ASSIGN(ChildThread); 271 DISALLOW_COPY_AND_ASSIGN(ChildThread);
265 }; 272 };
266 273
267 } // namespace content 274 } // namespace content
268 275
269 #endif // CONTENT_CHILD_CHILD_THREAD_H_ 276 #endif // CONTENT_CHILD_CHILD_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698