OLD | NEW |
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_COMMON_CHILD_THREAD_H_ | 5 #ifndef CONTENT_COMMON_CHILD_THREAD_H_ |
6 #define CONTENT_COMMON_CHILD_THREAD_H_ | 6 #define CONTENT_COMMON_CHILD_THREAD_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/common/message_router.h" | 13 #include "content/common/message_router.h" |
14 #include "webkit/glue/resource_loader_bridge.h" | 14 #include "webkit/glue/resource_loader_bridge.h" |
15 | 15 |
16 class FileSystemDispatcher; | 16 class FileSystemDispatcher; |
| 17 class IndexedDBMessageFilter; |
17 class MessageLoop; | 18 class MessageLoop; |
18 class QuotaDispatcher; | 19 class QuotaDispatcher; |
19 class ResourceDispatcher; | 20 class ResourceDispatcher; |
20 class SocketStreamDispatcher; | 21 class SocketStreamDispatcher; |
21 | 22 |
22 namespace IPC { | 23 namespace IPC { |
23 class SyncChannel; | 24 class SyncChannel; |
24 class SyncMessageFilter; | 25 class SyncMessageFilter; |
25 } | 26 } |
26 | 27 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 // The OnChannelError() callback was invoked - the channel is dead, don't | 134 // The OnChannelError() callback was invoked - the channel is dead, don't |
134 // attempt to communicate. | 135 // attempt to communicate. |
135 bool on_channel_error_called_; | 136 bool on_channel_error_called_; |
136 | 137 |
137 MessageLoop* message_loop_; | 138 MessageLoop* message_loop_; |
138 | 139 |
139 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; | 140 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; |
140 | 141 |
141 scoped_ptr<QuotaDispatcher> quota_dispatcher_; | 142 scoped_ptr<QuotaDispatcher> quota_dispatcher_; |
142 | 143 |
| 144 scoped_refptr<IndexedDBMessageFilter> idb_message_filter_; |
| 145 |
143 DISALLOW_COPY_AND_ASSIGN(ChildThread); | 146 DISALLOW_COPY_AND_ASSIGN(ChildThread); |
144 }; | 147 }; |
145 | 148 |
146 #endif // CONTENT_COMMON_CHILD_THREAD_H_ | 149 #endif // CONTENT_COMMON_CHILD_THREAD_H_ |
OLD | NEW |