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

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

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 7 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 | « content/child/blink_platform_impl.cc ('k') | content/child/child_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) 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_IMPL_H_ 5 #ifndef CONTENT_CHILD_CHILD_THREAD_IMPL_H_
6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 namespace content { 43 namespace content {
44 class ChildMessageFilter; 44 class ChildMessageFilter;
45 class ChildDiscardableSharedMemoryManager; 45 class ChildDiscardableSharedMemoryManager;
46 class ChildGpuMemoryBufferManager; 46 class ChildGpuMemoryBufferManager;
47 class ChildHistogramMessageFilter; 47 class ChildHistogramMessageFilter;
48 class ChildResourceMessageFilter; 48 class ChildResourceMessageFilter;
49 class ChildSharedBitmapManager; 49 class ChildSharedBitmapManager;
50 class FileSystemDispatcher; 50 class FileSystemDispatcher;
51 class InProcessChildThreadParams; 51 class InProcessChildThreadParams;
52 class NotificationDispatcher;
53 class PushDispatcher; 52 class PushDispatcher;
54 class ServiceWorkerMessageFilter; 53 class ServiceWorkerMessageFilter;
55 class QuotaDispatcher; 54 class QuotaDispatcher;
56 class QuotaMessageFilter; 55 class QuotaMessageFilter;
57 class ResourceDispatcher; 56 class ResourceDispatcher;
58 class ThreadSafeSender; 57 class ThreadSafeSender;
59 class WebSocketDispatcher; 58 class WebSocketDispatcher;
60 struct RequestInfo; 59 struct RequestInfo;
61 60
62 // The main thread of a child process derives from this class. 61 // The main thread of a child process derives from this class.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 128 }
130 129
131 FileSystemDispatcher* file_system_dispatcher() const { 130 FileSystemDispatcher* file_system_dispatcher() const {
132 return file_system_dispatcher_.get(); 131 return file_system_dispatcher_.get();
133 } 132 }
134 133
135 QuotaDispatcher* quota_dispatcher() const { 134 QuotaDispatcher* quota_dispatcher() const {
136 return quota_dispatcher_.get(); 135 return quota_dispatcher_.get();
137 } 136 }
138 137
139 NotificationDispatcher* notification_dispatcher() const {
140 return notification_dispatcher_.get();
141 }
142
143 PushDispatcher* push_dispatcher() const { 138 PushDispatcher* push_dispatcher() const {
144 return push_dispatcher_.get(); 139 return push_dispatcher_.get();
145 } 140 }
146 141
147 IPC::SyncMessageFilter* sync_message_filter() const { 142 IPC::SyncMessageFilter* sync_message_filter() const {
148 return sync_message_filter_.get(); 143 return sync_message_filter_.get();
149 } 144 }
150 145
151 // The getter should only be called on the main thread, however the 146 // The getter should only be called on the main thread, however the
152 // IPC::Sender it returns may be safely called on any thread including 147 // IPC::Sender it returns may be safely called on any thread including
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 std::unique_ptr<QuotaDispatcher> quota_dispatcher_; 260 std::unique_ptr<QuotaDispatcher> quota_dispatcher_;
266 261
267 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_; 262 scoped_refptr<ChildHistogramMessageFilter> histogram_message_filter_;
268 263
269 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_; 264 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_;
270 265
271 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_; 266 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_;
272 267
273 scoped_refptr<QuotaMessageFilter> quota_message_filter_; 268 scoped_refptr<QuotaMessageFilter> quota_message_filter_;
274 269
275 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
276
277 scoped_refptr<PushDispatcher> push_dispatcher_; 270 scoped_refptr<PushDispatcher> push_dispatcher_;
278 271
279 std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; 272 std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
280 273
281 std::unique_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_; 274 std::unique_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_;
282 275
283 std::unique_ptr<ChildDiscardableSharedMemoryManager> 276 std::unique_ptr<ChildDiscardableSharedMemoryManager>
284 discardable_shared_memory_manager_; 277 discardable_shared_memory_manager_;
285 278
286 std::unique_ptr<base::PowerMonitor> power_monitor_; 279 std::unique_ptr<base::PowerMonitor> power_monitor_;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 317
325 private: 318 private:
326 struct Options options_; 319 struct Options options_;
327 320
328 DISALLOW_COPY_AND_ASSIGN(Builder); 321 DISALLOW_COPY_AND_ASSIGN(Builder);
329 }; 322 };
330 323
331 } // namespace content 324 } // namespace content
332 325
333 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ 326 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698