| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 #ifdef IPC_MESSAGE_LOG_ENABLED | 233 #ifdef IPC_MESSAGE_LOG_ENABLED |
| 234 void OnSetIPCLoggingEnabled(bool enable); | 234 void OnSetIPCLoggingEnabled(bool enable); |
| 235 #endif | 235 #endif |
| 236 | 236 |
| 237 void EnsureConnected(); | 237 void EnsureConnected(); |
| 238 | 238 |
| 239 scoped_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_; | 239 scoped_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_; |
| 240 scoped_ptr<MojoApplication> mojo_application_; | 240 scoped_ptr<MojoApplication> mojo_application_; |
| 241 | 241 |
| 242 std::string channel_name_; | 242 std::string channel_name_; |
| 243 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; | 243 IPC::AttachmentBrokerUnprivileged* attachment_broker_ = nullptr; |
| 244 scoped_ptr<IPC::SyncChannel> channel_; | 244 scoped_ptr<IPC::SyncChannel> channel_; |
| 245 | 245 |
| 246 // Allows threads other than the main thread to send sync messages. | 246 // Allows threads other than the main thread to send sync messages. |
| 247 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 247 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
| 248 | 248 |
| 249 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 249 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 250 | 250 |
| 251 // Implements message routing functionality to the consumers of | 251 // Implements message routing functionality to the consumers of |
| 252 // ChildThreadImpl. | 252 // ChildThreadImpl. |
| 253 ChildThreadMessageRouter router_; | 253 ChildThreadMessageRouter router_; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 | 326 |
| 327 private: | 327 private: |
| 328 struct Options options_; | 328 struct Options options_; |
| 329 | 329 |
| 330 DISALLOW_COPY_AND_ASSIGN(Builder); | 330 DISALLOW_COPY_AND_ASSIGN(Builder); |
| 331 }; | 331 }; |
| 332 | 332 |
| 333 } // namespace content | 333 } // namespace content |
| 334 | 334 |
| 335 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 335 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| OLD | NEW |