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 | 228 |
229 // IPC message handlers. | 229 // IPC message handlers. |
230 void OnShutdown(); | 230 void OnShutdown(); |
231 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); | 231 void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); |
232 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); | 232 void OnGetChildProfilerData(int sequence_number, int current_profiling_phase); |
233 void OnProfilingPhaseCompleted(int profiling_phase); | 233 void OnProfilingPhaseCompleted(int profiling_phase); |
234 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); | 234 void OnBindExternalMojoShellHandle(const IPC::PlatformFileForTransit& file); |
235 #ifdef IPC_MESSAGE_LOG_ENABLED | 235 #ifdef IPC_MESSAGE_LOG_ENABLED |
236 void OnSetIPCLoggingEnabled(bool enable); | 236 void OnSetIPCLoggingEnabled(bool enable); |
237 #endif | 237 #endif |
| 238 #if defined(OS_WIN) |
| 239 void OnSetMojoParentPipeHandle(const IPC::PlatformFileForTransit& file); |
| 240 #endif |
238 #if defined(USE_TCMALLOC) | 241 #if defined(USE_TCMALLOC) |
239 void OnGetTcmallocStats(); | 242 void OnGetTcmallocStats(); |
240 #endif | 243 #endif |
241 | 244 |
242 void EnsureConnected(); | 245 void EnsureConnected(); |
243 | 246 |
244 scoped_ptr<MojoApplication> mojo_application_; | 247 scoped_ptr<MojoApplication> mojo_application_; |
245 | 248 |
246 std::string channel_name_; | 249 std::string channel_name_; |
247 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; | 250 scoped_ptr<IPC::AttachmentBrokerUnprivileged> attachment_broker_; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 337 |
335 private: | 338 private: |
336 struct Options options_; | 339 struct Options options_; |
337 | 340 |
338 DISALLOW_COPY_AND_ASSIGN(Builder); | 341 DISALLOW_COPY_AND_ASSIGN(Builder); |
339 }; | 342 }; |
340 | 343 |
341 } // namespace content | 344 } // namespace content |
342 | 345 |
343 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 346 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
OLD | NEW |