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

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

Issue 892543002: workers: Introduce a WorkerMessageFilter to ease routing/processing worker messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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
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 19 matching lines...) Expand all
30 class MessageFilter; 30 class MessageFilter;
31 class SyncChannel; 31 class SyncChannel;
32 class SyncMessageFilter; 32 class SyncMessageFilter;
33 } // namespace IPC 33 } // namespace IPC
34 34
35 namespace blink { 35 namespace blink {
36 class WebFrame; 36 class WebFrame;
37 } // namespace blink 37 } // namespace blink
38 38
39 namespace content { 39 namespace content {
40 class BluetoothMessageFilter; 40 class ChildMessageFilter;
41 class ChildDiscardableSharedMemoryManager; 41 class ChildDiscardableSharedMemoryManager;
42 class ChildGpuMemoryBufferManager; 42 class ChildGpuMemoryBufferManager;
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 GeofencingMessageFilter;
48 class NavigatorConnectDispatcher; 47 class NavigatorConnectDispatcher;
49 class NotificationDispatcher; 48 class NotificationDispatcher;
50 class PushDispatcher; 49 class PushDispatcher;
51 class ServiceWorkerMessageFilter; 50 class ServiceWorkerMessageFilter;
52 class QuotaDispatcher; 51 class QuotaDispatcher;
53 class QuotaMessageFilter; 52 class QuotaMessageFilter;
54 class ResourceDispatcher; 53 class ResourceDispatcher;
55 class ThreadSafeSender; 54 class ThreadSafeSender;
56 class WebSocketDispatcher; 55 class WebSocketDispatcher;
57 struct RequestInfo; 56 struct RequestInfo;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 276
278 scoped_ptr<ChildDiscardableSharedMemoryManager> 277 scoped_ptr<ChildDiscardableSharedMemoryManager>
279 discardable_shared_memory_manager_; 278 discardable_shared_memory_manager_;
280 279
281 // Observes the trace event system. When tracing is enabled, optionally 280 // Observes the trace event system. When tracing is enabled, optionally
282 // starts profiling the tcmalloc heap. 281 // starts profiling the tcmalloc heap.
283 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; 282 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
284 283
285 scoped_ptr<base::PowerMonitor> power_monitor_; 284 scoped_ptr<base::PowerMonitor> power_monitor_;
286 285
287 scoped_refptr<GeofencingMessageFilter> geofencing_message_filter_; 286 scoped_refptr<ChildMessageFilter> geofencing_message_filter_;
288 287 scoped_refptr<ChildMessageFilter> bluetooth_message_filter_;
289 scoped_refptr<BluetoothMessageFilter> bluetooth_message_filter_;
290 288
291 scoped_refptr<NavigatorConnectDispatcher> navigator_connect_dispatcher_; 289 scoped_refptr<NavigatorConnectDispatcher> navigator_connect_dispatcher_;
292 290
293 bool in_browser_process_; 291 bool in_browser_process_;
294 292
295 base::WeakPtrFactory<ChildThread> channel_connected_factory_; 293 base::WeakPtrFactory<ChildThread> channel_connected_factory_;
296 294
297 DISALLOW_COPY_AND_ASSIGN(ChildThread); 295 DISALLOW_COPY_AND_ASSIGN(ChildThread);
298 }; 296 };
299 297
300 } // namespace content 298 } // namespace content
301 299
302 #endif // CONTENT_CHILD_CHILD_THREAD_H_ 300 #endif // CONTENT_CHILD_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/child/bluetooth/bluetooth_message_filter.cc ('k') | content/child/geofencing/geofencing_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698