| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); | 228 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); |
| 229 void OnProfilingPhaseCompleted(int profiling_phase); | 229 void OnProfilingPhaseCompleted(int profiling_phase); |
| 230 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); | 230 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); |
| 231 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file); | 231 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file); |
| 232 #ifdef IPC_MESSAGE_LOG_ENABLED | 232 #ifdef IPC_MESSAGE_LOG_ENABLED |
| 233 void OnSetIPCLoggingEnabled(bool enable); | 233 void OnSetIPCLoggingEnabled(bool enable); |
| 234 #endif | 234 #endif |
| 235 | 235 |
| 236 void EnsureConnected(); | 236 void EnsureConnected(); |
| 237 | 237 |
| 238 scoped_ptr<IPC::ScopedIPCSupport> mojo_ipc_support_; |
| 238 scoped_ptr<MojoApplication> mojo_application_; | 239 scoped_ptr<MojoApplication> mojo_application_; |
| 239 | 240 |
| 240 std::string channel_name_; | 241 std::string channel_name_; |
| 241 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; | 242 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; |
| 242 scoped_ptr<IPC::SyncChannel> channel_; | 243 scoped_ptr<IPC::SyncChannel> channel_; |
| 243 | 244 |
| 244 // Allows threads other than the main thread to send sync messages. | 245 // Allows threads other than the main thread to send sync messages. |
| 245 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 246 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
| 246 | 247 |
| 247 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 248 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 | 325 |
| 325 private: | 326 private: |
| 326 struct Options options_; | 327 struct Options options_; |
| 327 | 328 |
| 328 DISALLOW_COPY_AND_ASSIGN(Builder); | 329 DISALLOW_COPY_AND_ASSIGN(Builder); |
| 329 }; | 330 }; |
| 330 | 331 |
| 331 } // namespace content | 332 } // namespace content |
| 332 | 333 |
| 333 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 334 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| OLD | NEW |