| OLD | NEW |
| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 class MessageLoop; | 24 class MessageLoop; |
| 25 | 25 |
| 26 namespace trace_event { | 26 namespace trace_event { |
| 27 class TraceMemoryController; | 27 class TraceMemoryController; |
| 28 } // namespace trace_event | 28 } // namespace trace_event |
| 29 } // namespace base | 29 } // namespace base |
| 30 | 30 |
| 31 namespace IPC { | 31 namespace IPC { |
| 32 class AttachmentBroker; | 32 class AttachmentBrokerUnprivileged; |
| 33 class MessageFilter; | 33 class MessageFilter; |
| 34 class ScopedIPCSupport; | 34 class ScopedIPCSupport; |
| 35 class SyncChannel; | 35 class SyncChannel; |
| 36 class SyncMessageFilter; | 36 class SyncMessageFilter; |
| 37 } // namespace IPC | 37 } // namespace IPC |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 class WebFrame; | 40 class WebFrame; |
| 41 } // namespace blink | 41 } // namespace blink |
| 42 | 42 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 #endif | 232 #endif |
| 233 #if defined(USE_TCMALLOC) | 233 #if defined(USE_TCMALLOC) |
| 234 void OnGetTcmallocStats(); | 234 void OnGetTcmallocStats(); |
| 235 #endif | 235 #endif |
| 236 | 236 |
| 237 void EnsureConnected(); | 237 void EnsureConnected(); |
| 238 | 238 |
| 239 scoped_ptr<MojoApplication> mojo_application_; | 239 scoped_ptr<MojoApplication> mojo_application_; |
| 240 | 240 |
| 241 std::string channel_name_; | 241 std::string channel_name_; |
| 242 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; |
| 242 scoped_ptr<IPC::SyncChannel> channel_; | 243 scoped_ptr<IPC::SyncChannel> channel_; |
| 243 scoped_ptr<IPC::AttachmentBroker> attachment_broker_; | |
| 244 | 244 |
| 245 // Allows threads other than the main thread to send sync messages. | 245 // Allows threads other than the main thread to send sync messages. |
| 246 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 246 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
| 247 | 247 |
| 248 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 248 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 249 | 249 |
| 250 // Implements message routing functionality to the consumers of | 250 // Implements message routing functionality to the consumers of |
| 251 // ChildThreadImpl. | 251 // ChildThreadImpl. |
| 252 ChildThreadMessageRouter router_; | 252 ChildThreadMessageRouter router_; |
| 253 | 253 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 327 |
| 328 private: | 328 private: |
| 329 struct Options options_; | 329 struct Options options_; |
| 330 | 330 |
| 331 DISALLOW_COPY_AND_ASSIGN(Builder); | 331 DISALLOW_COPY_AND_ASSIGN(Builder); |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 } // namespace content | 334 } // namespace content |
| 335 | 335 |
| 336 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 336 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| OLD | NEW |